mirror of
https://github.com/Dvorinka/MyClubServer.git
synced 2026-06-04 10:42:57 +00:00
update 2
This commit is contained in:
+4
-4
@@ -83,7 +83,7 @@ services:
|
||||
cpus: '0.25'
|
||||
memory: 128M
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--spider", "-q", "http://localhost:80/"]
|
||||
test: ["CMD", "wget", "--spider", "-q", "http://127.0.0.1:80/"]
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
@@ -155,10 +155,11 @@ services:
|
||||
- /var/run/postgresql
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U postgres"]
|
||||
test: ["CMD-SHELL", "pg_isready -h 127.0.0.1 -U postgres -d fotbal_club"]
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
retries: 12
|
||||
start_period: 45s
|
||||
networks:
|
||||
- fotbal-network
|
||||
deploy:
|
||||
@@ -206,4 +207,3 @@ volumes:
|
||||
networks:
|
||||
fotbal-network:
|
||||
driver: bridge
|
||||
|
||||
|
||||
Reference in New Issue
Block a user