Integrate with shared nocodb-network and add NocoDB env vars
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+17
-5
@@ -1,14 +1,26 @@
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
|
|
||||||
switch-config-manager:
|
switch-config-manager:
|
||||||
build: .
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile
|
||||||
container_name: switch-config-manager
|
container_name: switch-config-manager
|
||||||
restart: unless-stopped
|
|
||||||
ports:
|
ports:
|
||||||
- "8003:8003"
|
- "8003:8003"
|
||||||
volumes:
|
volumes:
|
||||||
- ./config.py:/app/config.py
|
- ./config.py:/app/config.py:ro
|
||||||
- ./templates/index.html:/app/templates/index.html
|
|
||||||
- ./configs:/configs
|
- ./configs:/configs
|
||||||
environment:
|
environment:
|
||||||
- PYTHONUNBUFFERED=1
|
- 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
|
||||||
|
|||||||
Reference in New Issue
Block a user