This commit is contained in:
emmatveev 2024-06-10 19:10:42 +03:00
parent 3764ce7ce7
commit 612bae7ab0
2 changed files with 4 additions and 4 deletions

View File

@ -19,9 +19,9 @@ services:
VK_SERVICE_TOKEN: $VK_SERVICE_TOKEN VK_SERVICE_TOKEN: $VK_SERVICE_TOKEN
YANDEX_SERVICE_TOKEN: $YANDEX_SERVICE_TOKEN YANDEX_SERVICE_TOKEN: $YANDEX_SERVICE_TOKEN
PLATFORM_SECURITY_TOKEN: $PLATFORM_SECURITY_TOKEN PLATFORM_SECURITY_TOKEN: $PLATFORM_SECURITY_TOKEN
command: runserver 0.0.0.0:8000 command: runserver 0.0.0.0:1238
healthcheck: healthcheck:
test: curl --fail http://0.0.0.0:8000/ping || exit 1 test: curl --fail http://0.0.0.0:1238/ping || exit 1
interval: 60s interval: 60s
retries: 5 retries: 5
start_period: 10s start_period: 10s

View File

@ -20,9 +20,9 @@ services:
YANDEX_SERVICE_TOKEN: $YANDEX_SERVICE_TOKEN YANDEX_SERVICE_TOKEN: $YANDEX_SERVICE_TOKEN
TELEGRAM_TOKEN: $TELEGRAM_TOKEN TELEGRAM_TOKEN: $TELEGRAM_TOKEN
PLATFORM_SECURITY_TOKEN: $PLATFORM_SECURITY_TOKEN PLATFORM_SECURITY_TOKEN: $PLATFORM_SECURITY_TOKEN
command: runserver 0.0.0.0:8000 command: runserver 0.0.0.0:1238
healthcheck: healthcheck:
test: curl --fail http://0.0.0.0:8000/ping || exit 1 test: curl --fail http://0.0.0.0:1238/ping || exit 1
interval: 60s interval: 60s
retries: 5 retries: 5
start_period: 10s start_period: 10s