First version
This commit is contained in:
@@ -0,0 +1,20 @@
|
|||||||
|
services:
|
||||||
|
kostos:
|
||||||
|
image: ghcr.io/shynewt/kostos:latest
|
||||||
|
container_name: Kostos
|
||||||
|
security_opt:
|
||||||
|
- no-new-privileges:true
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD-SHELL", "nc -z 127.0.0.1 3000 || exit 1"]
|
||||||
|
interval: 10s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 3
|
||||||
|
start_period: 90s
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- 3325:3000
|
||||||
|
volumes:
|
||||||
|
- /var/lib/docker/volumes/kostos/kostos.db:/app/kostos.db:rw
|
||||||
|
command: sh -c "npm run db:migrate && npm start"
|
||||||
|
environment:
|
||||||
|
NODE_ENV: production
|
||||||
Reference in New Issue
Block a user