service-etherpad/docker-compose.yml

27 lines
503 B
YAML

---
version: "3.4"
services:
db:
image: mariadb:10.3
volumes:
- db_data:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: insecure
MYSQL_DATABASE: etherpad
etherpad:
build: .
image: glenux/etherpad:latest
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: {}