From 9666102b2c1efc149e0b685c7ec28e6165d57de8 Mon Sep 17 00:00:00 2001 From: dcstephenson Date: Tue, 23 Jun 2026 11:38:38 -0500 Subject: [PATCH] Integrate with shared nocodb-network and add NocoDB env vars --- 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