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:
|
||||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue