Revert "remove sleep from plausible.command"

This reverts commit 5930193510.
This commit is contained in:
ruslandoga 2024-08-02 22:35:05 +07:00
parent 5930193510
commit 9cd73d990c

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 "/entrypoint.sh db createdb && /entrypoint.sh db migrate && /entrypoint.sh run" command: sh -c "sleep 10 && /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