From 0865d0a7270c6b77e9bfa99c7c4945194fb5479e Mon Sep 17 00:00:00 2001 From: dcstephenson Date: Tue, 23 Jun 2026 11:38:38 -0500 Subject: [PATCH] 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). --- docker-compose.yml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index a2a666c..02865e5 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,13 +1,25 @@ services: + lldp-mapper: - build: . + build: + context: . + dockerfile: Dockerfile container_name: lldp-mapper ports: - "5000:5000" volumes: - ./data:/data - - ./config.py:/app/config.py + - ./config.py:/app/config.py:ro - ./index.html:/app/templates/index.html:ro - restart: unless-stopped environment: - 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