fixed netbox networks, port, and version

This commit is contained in:
Bryan Joshua Pedini 2022-08-25 13:16:56 +02:00
parent 27a7487909
commit 797d32991c
2 changed files with 5 additions and 2 deletions

View File

@ -69,6 +69,9 @@ services:
- traefik.http.routers.https-${TRAEFIK_ROUTER}.tls.certresolver=${TRAEFIK_CERTRESOLVER} - traefik.http.routers.https-${TRAEFIK_ROUTER}.tls.certresolver=${TRAEFIK_CERTRESOLVER}
# specify a service so a custom port can be used # specify a service so a custom port can be used
- traefik.http.services.${TRAEFIK_SERVICE}.loadbalancer.server.port=${TRAEFIK_SERVICE_PORT} - traefik.http.services.${TRAEFIK_SERVICE}.loadbalancer.server.port=${TRAEFIK_SERVICE_PORT}
networks:
- internal
- traefik
user: unit:root user: unit:root
volumes: volumes:
- ${NETBOX_DATA}/configuration:/etc/netbox/config:z,ro - ${NETBOX_DATA}/configuration:/etc/netbox/config:z,ro

View File

@ -1,6 +1,6 @@
# NetBox # NetBox
NETBOX_DOCKER_VERSION=2.1.0 NETBOX_DOCKER_VERSION=2.1.0
NETBOX_VERSION=3.2.9 NETBOX_VERSION=v3.2.9
NETBOX_DATA=./data/netbox NETBOX_DATA=./data/netbox
NETBOX_EMAIL_SERVER=localhost NETBOX_EMAIL_SERVER=localhost
NETBOX_EMAIL_PORT=25 NETBOX_EMAIL_PORT=25
@ -33,7 +33,7 @@ TRAEFIK_MATCHRULE=netbox.example.com
TRAEFIK_TLSENABLED=true TRAEFIK_TLSENABLED=true
TRAEFIK_CERTRESOLVER=letsencrypt TRAEFIK_CERTRESOLVER=letsencrypt
TRAEFIK_SERVICE=netbox_example_com TRAEFIK_SERVICE=netbox_example_com
TRAEFIK_SERVICE_PORT=8000 TRAEFIK_SERVICE_PORT=8080
# PostgreSQL # PostgreSQL
PSQL_VERSION=14.5-alpine3.16 PSQL_VERSION=14.5-alpine3.16