remove sleep from plausible.command

This commit is contained in:
ruslandoga 2024-07-22 13:47:29 +07:00 committed by ruslandoga
parent bfcbf76cde
commit 5930193510

View File

@ -33,7 +33,7 @@ services:
plausible: plausible:
image: ghcr.io/plausible/community-edition:v2.1.1 image: ghcr.io/plausible/community-edition:v2.1.1
restart: always restart: always
command: sh -c "sleep 10 && /entrypoint.sh db createdb && /entrypoint.sh db migrate && /entrypoint.sh run" command: sh -c "/entrypoint.sh db createdb && /entrypoint.sh db migrate && /entrypoint.sh run"
healthcheck: healthcheck:
test: wget --no-verbose --tries=1 --spider http://127.0.0.1:8000 || exit 1 test: wget --no-verbose --tries=1 --spider http://127.0.0.1:8000 || exit 1
start_interval: 2s start_interval: 2s