Integrate with shared nocodb-network and add NocoDB env vars

This commit is contained in:
2026-06-23 11:38:57 -05:00
parent 220b5e2354
commit 4625e60a6b
+17 -5
View File
@@ -1,14 +1,26 @@
services:
switch-config-manager:
build: .
build:
context: .
dockerfile: Dockerfile
container_name: switch-config-manager
restart: unless-stopped
ports:
- "8003:8003"
volumes:
- ./config.py:/app/config.py
- ./templates/index.html:/app/templates/index.html
- ./config.py:/app/config.py:ro
- ./configs:/configs
environment:
- PYTHONUNBUFFERED=1
- NOCODB_URL=http://nocodb:8080
- NOCODB_TOKEN=eWU_ilelaCtNy1JzC7vf41DokkqFOovcLHM0zVml
- NOCODB_BASE_ID=p1h7iyzjjbsnfv5
- NOCODB_TABLE_ID=md03qoibd5fz839
restart: unless-stopped
networks:
- nocodb-network
networks:
nocodb-network:
external: true
name: nocodb-network