42 lines
754 B
YAML
42 lines
754 B
YAML
name: padnetignet
|
|
|
|
services:
|
|
mariadb:
|
|
image: mariadb:latest
|
|
restart: unless-stopped
|
|
|
|
env_file:
|
|
- .env
|
|
- ../passwords/padnetignet.pass
|
|
|
|
volumes:
|
|
- ./volumes/mysql:/var/lib/mysql
|
|
|
|
command:
|
|
- mariadbd
|
|
- --character-set-server=utf8mb4
|
|
- --collation-server=utf8mb4_unicode_ci
|
|
|
|
healthcheck:
|
|
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
|
|
start_period: 10s
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 3
|
|
|
|
etherpad:
|
|
image: etherpad/etherpad:latest
|
|
restart: unless-stopped
|
|
|
|
depends_on:
|
|
mariadb:
|
|
condition: service_healthy
|
|
|
|
env_file:
|
|
- .env
|
|
- ../passwords/padnetignet.pass
|
|
|
|
ports:
|
|
- "127.0.0.1:9005:9001"
|
|
|