netbox/docker-compose.yml aktualisiert

add container names
This commit is contained in:
kevinheyer 2025-04-01 05:01:55 +00:00
parent f92ba38768
commit 57aee9a01f

View file

@ -2,6 +2,7 @@
services:
postgres:
image: postgres:${NETBOX_POSTGRESQL_VERISION:-16}
container_name: netbox-db
restart: unless-stopped
environment:
POSTGRES_DB: ${POSTGRES_DB:?error}
@ -22,6 +23,7 @@ services:
netbox:
image: netboxcommunity/netbox:${NETBOX_VERSION:-v4.2.6}
container_name: netbox
restart: unless-stopped
depends_on:
- postgres