Anotha one
Some checks failed
Deploy Encrypted Todo App / build-and-push (push) Has been cancelled

This commit is contained in:
2025-06-16 09:40:00 -06:00
parent 317fda81e3
commit d1515e1990
2 changed files with 6 additions and 35 deletions

View File

@ -1,38 +1,9 @@
version: "3.8"
services:
app:
build: .
container_name: encrypted-todo-app
image: ${IMAGE}
ports:
- "3000:3000"
- "${APP_PORT}:3000"
environment:
- NODE_ENV=production
- SQLITE_DB_PATH=/app/data/db.db
- PORT=3000
volumes:
- todo_data:/app/data
NODE_ENV: production
SQLITE_DB_PATH: ${SQLITE_DB_PATH}
restart: unless-stopped
healthcheck:
test:
[
"CMD",
"wget",
"--quiet",
"--tries=1",
"--spider",
"http://localhost:3000/api/users",
]
timeout: 10s
interval: 30s
retries: 5
start_period: 40s
labels:
- "com.docker.compose.project=encrypted-todo"
- "description=Encrypted Todo List Application"
volumes:
todo_data:
driver: local
todo_data_dev:
driver: local