From a89d2e035c90a542e523e0f967794f9c036f9a9d Mon Sep 17 00:00:00 2001 From: Tobias Genannt Date: Sat, 17 Apr 2021 10:16:40 +0200 Subject: [PATCH] Don't publish Netbox on random port --- docker-compose.override.yml.example | 5 +++++ docker-compose.yml | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 docker-compose.override.yml.example diff --git a/docker-compose.override.yml.example b/docker-compose.override.yml.example new file mode 100644 index 000000000..f08d6c017 --- /dev/null +++ b/docker-compose.override.yml.example @@ -0,0 +1,5 @@ +version: '3.4' +services: + netbox: + ports: + - 8000:8080 diff --git a/docker-compose.yml b/docker-compose.yml index 4b0fda3df..7bec1770f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -16,8 +16,6 @@ services: - ./reports:/etc/netbox/reports:z,ro - ./scripts:/etc/netbox/scripts:z,ro - netbox-media-files:/opt/netbox/netbox/media:z - ports: - - "8080" netbox-worker: <<: *netbox depends_on: