netbox/docker-compose.yml aktualisiert
add container names
This commit is contained in:
parent
f92ba38768
commit
57aee9a01f
1 changed files with 2 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
||||||
services:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:${NETBOX_POSTGRESQL_VERISION:-16}
|
image: postgres:${NETBOX_POSTGRESQL_VERISION:-16}
|
||||||
|
container_name: netbox-db
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_DB: ${POSTGRES_DB:?error}
|
POSTGRES_DB: ${POSTGRES_DB:?error}
|
||||||
|
@ -22,6 +23,7 @@ services:
|
||||||
|
|
||||||
netbox:
|
netbox:
|
||||||
image: netboxcommunity/netbox:${NETBOX_VERSION:-v4.2.6}
|
image: netboxcommunity/netbox:${NETBOX_VERSION:-v4.2.6}
|
||||||
|
container_name: netbox
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgres
|
- postgres
|
||||||
|
|
Loading…
Add table
Reference in a new issue