Simplify to standalone service on shared nocodb-network, add modem_num field
Strips embedded nocodb/postgres services from compose; switches to shared nocodb-network. Adds modem_num to NocoDB field list. Fixes session cookie secure flag. Removes previously-tracked XML template files (covered by .gitignore).
This commit is contained in:
+15
-3
@@ -1,13 +1,25 @@
|
|||||||
services:
|
services:
|
||||||
|
|
||||||
lldp-mapper:
|
lldp-mapper:
|
||||||
build: .
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile
|
||||||
container_name: lldp-mapper
|
container_name: lldp-mapper
|
||||||
ports:
|
ports:
|
||||||
- "5000:5000"
|
- "5000:5000"
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/data
|
- ./data:/data
|
||||||
- ./config.py:/app/config.py
|
- ./config.py:/app/config.py:ro
|
||||||
- ./index.html:/app/templates/index.html:ro
|
- ./index.html:/app/templates/index.html:ro
|
||||||
restart: unless-stopped
|
|
||||||
environment:
|
environment:
|
||||||
- PYTHONUNBUFFERED=1
|
- PYTHONUNBUFFERED=1
|
||||||
|
- NOCODB_URL=http://nocodb:8080
|
||||||
|
- NOCODB_TOKEN=eWU_ilelaCtNy1JzC7vf41DokkqFOovcLHM0zVml
|
||||||
|
restart: unless-stopped
|
||||||
|
networks:
|
||||||
|
- nocodb-network
|
||||||
|
|
||||||
|
networks:
|
||||||
|
nocodb-network:
|
||||||
|
external: true
|
||||||
|
name: nocodb-network
|
||||||
|
|||||||
Reference in New Issue
Block a user