fix docker compose
This commit is contained in:
@@ -30,6 +30,10 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ep-mysql-volume:/var/lib/mysql
|
- ep-mysql-volume:/var/lib/mysql
|
||||||
- /srv/initdb/etherpad:/docker-entrypoint-initdb.d/
|
- /srv/initdb/etherpad:/docker-entrypoint-initdb.d/
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "mysqladmin", "ping", "-h", "localhost"]
|
||||||
|
timeout: 20s
|
||||||
|
retries: 20
|
||||||
etherpad:
|
etherpad:
|
||||||
image: etherpad/etherpad
|
image: etherpad/etherpad
|
||||||
container_name: test_etherpad
|
container_name: test_etherpad
|
||||||
@@ -44,7 +48,8 @@ services:
|
|||||||
TRUST_PROXY: "true"
|
TRUST_PROXY: "true"
|
||||||
REQUIRE_SESSION: "true"
|
REQUIRE_SESSION: "true"
|
||||||
depends_on:
|
depends_on:
|
||||||
- etherpadsql
|
etherpadsql:
|
||||||
|
condition: service_healthy
|
||||||
volumes:
|
volumes:
|
||||||
- /srv/APIKEY.txt:/opt/etherpad-lite/APIKEY.txt
|
- /srv/APIKEY.txt:/opt/etherpad-lite/APIKEY.txt
|
||||||
# - ./deployment/mysql.cnf:/etc/mysql/conf.d
|
# - ./deployment/mysql.cnf:/etc/mysql/conf.d
|
||||||
|
|||||||
Reference in New Issue
Block a user