mirror of
https://github.com/R0m1k3/TodoFlow.git
synced 2026-10-12 01:38:28 +02:00
33 lines
611 B
YAML
33 lines
611 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
todo-api:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
container_name: todoflow-api-server
|
|
restart: always
|
|
ports:
|
|
- "8299:8000"
|
|
volumes:
|
|
- todoflow_db_volume:/app/data
|
|
environment:
|
|
- DATABASE_URL=sqlite:///app/data/todo.db
|
|
- API_KEYS_RAW=widget-token-secure-789,ai-agent-token-secure-101
|
|
- ENV=production
|
|
networks:
|
|
- nginx_default
|
|
logging:
|
|
driver: "json-file"
|
|
options:
|
|
max-size: "10m"
|
|
max-file: "3"
|
|
|
|
volumes:
|
|
todoflow_db_volume:
|
|
|
|
networks:
|
|
nginx_default:
|
|
external: true
|
|
|