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