V1.2
This commit is contained in:
1 parent
7fc7653e6f
commit
d8759eee29
25 files changed
+318
-121
No files matched your search
+9
-9
@@ -7,16 +7,16 @@ services:
|
||||
container_name: vac-optimizer-prod
|
||||
restart: always
|
||||
ports:
|
||||
- "80:4000"
|
||||
- '80:4000'
|
||||
environment:
|
||||
- NODE_ENV=production
|
||||
- PORT=4000
|
||||
healthcheck:
|
||||
test:
|
||||
[
|
||||
"CMD",
|
||||
"node",
|
||||
"-e",
|
||||
'CMD',
|
||||
'node',
|
||||
'-e',
|
||||
"require('http').get('http://localhost:4000', (r) => {process.exit(r.statusCode === 200 ? 0 : 1)})",
|
||||
]
|
||||
interval: 30s
|
||||
@@ -26,10 +26,10 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: "1.0"
|
||||
cpus: '1.0'
|
||||
memory: 512M
|
||||
reservations:
|
||||
cpus: "0.5"
|
||||
cpus: '0.5'
|
||||
memory: 256M
|
||||
restart_policy:
|
||||
condition: on-failure
|
||||
@@ -37,10 +37,10 @@ services:
|
||||
max_attempts: 3
|
||||
window: 120s
|
||||
logging:
|
||||
driver: "json-file"
|
||||
driver: 'json-file'
|
||||
options:
|
||||
max-size: "10m"
|
||||
max-file: "3"
|
||||
max-size: '10m'
|
||||
max-file: '3'
|
||||
networks:
|
||||
- vac-optimizer-network
|
||||
|
||||
|
||||
Reference in new issue
Block a user