2020-03-21 11:50:45 +00:00
|
|
|
---
|
|
|
|
version: "3.4"
|
|
|
|
|
2019-02-23 16:58:58 +00:00
|
|
|
services:
|
|
|
|
db:
|
|
|
|
image: mariadb:10.3
|
|
|
|
volumes:
|
2020-03-21 11:50:45 +00:00
|
|
|
- db_data:/var/lib/mysql
|
2019-02-23 16:58:58 +00:00
|
|
|
environment:
|
|
|
|
MYSQL_ROOT_PASSWORD: insecure
|
|
|
|
MYSQL_DATABASE: etherpad
|
|
|
|
|
|
|
|
etherpad:
|
|
|
|
build: .
|
2021-04-30 12:03:29 +00:00
|
|
|
image: glenux/etherpad:latest
|
2019-02-23 16:58:58 +00:00
|
|
|
environment:
|
|
|
|
DATABASE_URL: mysql://root:insecure@db/etherpad
|
|
|
|
ETHERPAD_ADMIN_USER: admin
|
|
|
|
ETHERPAD_ADMIN_PASSWORD: insecure
|
|
|
|
NODE_ENV: production
|
|
|
|
ports:
|
|
|
|
- "9001:9001"
|
|
|
|
depends_on:
|
|
|
|
- "db"
|
|
|
|
|
2020-03-21 11:50:45 +00:00
|
|
|
volumes:
|
|
|
|
db_data: {}
|