Compare commits
1 Commits
85dcbd8808
...
fix/stackf
| Author | SHA1 | Date | |
|---|---|---|---|
| 1a844132e6 |
12
stack.yaml
12
stack.yaml
@@ -34,7 +34,7 @@ services:
|
||||
cpus: '1.00'
|
||||
memory: 512M
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U postgres -d uzxarid"]
|
||||
test: [ "CMD-SHELL", "pg_isready -U postgres -d uzxarid" ]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
@@ -47,7 +47,7 @@ services:
|
||||
|
||||
redis:
|
||||
image: redis:7-alpine
|
||||
command: ["redis-server", "--appendonly", "yes"]
|
||||
command: [ "redis-server", "--appendonly", "yes" ]
|
||||
networks:
|
||||
- uzxarid
|
||||
volumes:
|
||||
@@ -72,7 +72,7 @@ services:
|
||||
cpus: '0.50'
|
||||
memory: 256M
|
||||
healthcheck:
|
||||
test: ["CMD", "redis-cli", "ping"]
|
||||
test: [ "CMD", "redis-cli", "ping" ]
|
||||
interval: 15s
|
||||
timeout: 10s
|
||||
retries: 5
|
||||
@@ -117,7 +117,7 @@ services:
|
||||
cpus: '1.50'
|
||||
memory: 1024M
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "curl -f http://localhost:8000/health/ || exit 1"]
|
||||
test: [ "CMD-SHELL", "curl -f http://localhost:8000/health/ || exit 1" ]
|
||||
interval: 15s
|
||||
timeout: 15s
|
||||
retries: 5
|
||||
@@ -133,7 +133,7 @@ services:
|
||||
ports:
|
||||
- mode: ingress
|
||||
target: 80
|
||||
published: ${PORT:?enviromentda PORT topilmadi}
|
||||
published: 8034
|
||||
protocol: tcp
|
||||
volumes:
|
||||
- type: bind
|
||||
@@ -167,7 +167,7 @@ services:
|
||||
- /var/run
|
||||
- /var/tmp
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "curl -f http://localhost/health/ || exit 1"]
|
||||
test: [ "CMD-SHELL", "curl -f http://localhost/health/ || exit 1" ]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
Reference in New Issue
Block a user