service-etherpad/docker-compose.yml

28 lines
503 B
YAML
Raw Normal View History

---
version: "3.4"
2019-02-23 16:58:58 +00:00
services:
db:
image: mariadb:10.3
volumes:
- db_data:/var/lib/mysql
2019-02-23 16:58:58 +00:00
environment:
MYSQL_ROOT_PASSWORD: insecure
MYSQL_DATABASE: etherpad
etherpad:
build: .
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"
volumes:
db_data: {}