pad.netig.net/compose.yml
2025-01-14 17:59:39 +01:00

29 lines
759 B
YAML

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