7233386d36
- Add "no ip telnet" to generated switch configs for security - Bind-mount templates/ into the container (read-only) so template edits take effect without a rebuild, matching config.py/configs/ Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CLfUJoQTaUePx1m1d2v2j9
28 lines
643 B
YAML
28 lines
643 B
YAML
services:
|
|
|
|
switch-config-manager:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
container_name: switch-config-manager
|
|
ports:
|
|
- "8003:8003"
|
|
volumes:
|
|
- ./config.py:/app/config.py:ro
|
|
- ./configs:/configs
|
|
- ./templates:/app/templates:ro
|
|
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
|