docker + css tweaks + samediMalin
This commit is contained in:
1 parent
865555a19b
commit
2b552cf5cd
9 files changed
+191
-11
No files matched your search
+33
@@ -0,0 +1,33 @@
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
vac-optimizer:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
image: vac-optimizer:latest
|
||||
container_name: vac-optimizer
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "4000:4000"
|
||||
environment:
|
||||
- NODE_ENV=production
|
||||
- PORT=4000
|
||||
healthcheck:
|
||||
test:
|
||||
[
|
||||
"CMD",
|
||||
"node",
|
||||
"-e",
|
||||
"require('http').get('http://localhost:4000', (r) => {process.exit(r.statusCode === 200 ? 0 : 1)})",
|
||||
]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 40s
|
||||
networks:
|
||||
- vac-optimizer-network
|
||||
|
||||
networks:
|
||||
vac-optimizer-network:
|
||||
driver: bridge
|
||||
Reference in new issue
Block a user