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
|
2022-05-08 19:03:05 +00:00
|
|
|
command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
|
2019-02-23 16:58:58 +00:00
|
|
|
volumes:
|
2020-03-21 11:50:45 +00:00
|
|
|
- db_data:/var/lib/mysql
|
2019-02-23 16:58:58 +00:00
|
|
|
environment:
|
2022-05-08 19:03:05 +00:00
|
|
|
MARIADB_ROOT_PASSWORD: insecure
|
|
|
|
MARIADB_DATABASE: etherpad
|
2019-02-23 16:58:58 +00:00
|
|
|
|
|
|
|
etherpad:
|
2022-05-08 19:03:05 +00:00
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: Dockerfile
|
2021-04-30 12:03:29 +00:00
|
|
|
image: glenux/etherpad:latest
|
2019-02-23 16:58:58 +00:00
|
|
|
environment:
|
2022-05-08 19:03:05 +00:00
|
|
|
DATABASE_URL: mysql://root:insecure:3306@db/etherpad
|
2019-02-23 16:58:58 +00:00
|
|
|
ETHERPAD_ADMIN_USER: admin
|
|
|
|
ETHERPAD_ADMIN_PASSWORD: insecure
|
|
|
|
NODE_ENV: production
|
|
|
|
ports:
|
2022-05-08 19:03:05 +00:00
|
|
|
- 9001:9001
|
2019-02-23 16:58:58 +00:00
|
|
|
|
2020-03-21 11:50:45 +00:00
|
|
|
volumes:
|
|
|
|
db_data: {}
|