mirror of
https://github.com/R0m1k3/TodoFlow.git
synced 2026-10-23 23:28:09 +02:00
Configure port 8299 and external network nginx_default for Portainer
This commit is contained in:
1 parent
a996f0694b
commit
711b53c9c6
1 file changed
+8
-1
@@ -8,13 +8,15 @@ services:
|
|||||||
container_name: todoflow-api-server
|
container_name: todoflow-api-server
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- "8000:8000"
|
- "8299:8000"
|
||||||
volumes:
|
volumes:
|
||||||
- todoflow_db_volume:/app/data
|
- todoflow_db_volume:/app/data
|
||||||
environment:
|
environment:
|
||||||
- DATABASE_URL=sqlite:///app/data/todo.db
|
- DATABASE_URL=sqlite:///app/data/todo.db
|
||||||
- API_KEYS_RAW=widget-token-secure-789,ai-agent-token-secure-101
|
- API_KEYS_RAW=widget-token-secure-789,ai-agent-token-secure-101
|
||||||
- ENV=production
|
- ENV=production
|
||||||
|
networks:
|
||||||
|
- nginx_default
|
||||||
logging:
|
logging:
|
||||||
driver: "json-file"
|
driver: "json-file"
|
||||||
options:
|
options:
|
||||||
@@ -23,3 +25,8 @@ services:
|
|||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
todoflow_db_volume:
|
todoflow_db_volume:
|
||||||
|
|
||||||
|
networks:
|
||||||
|
nginx_default:
|
||||||
|
external: true
|
||||||
|
|
||||||
Reference in new issue
Block a user