mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2026-02-24 23:03:54 +00:00
first try
This commit is contained in:
@@ -2,7 +2,7 @@ services:
|
||||
netbox: &netbox
|
||||
image: docker.io/netboxcommunity/netbox:${VERSION-v4.0-2.9.1}
|
||||
depends_on:
|
||||
- postgres
|
||||
# - postgres
|
||||
- redis
|
||||
- redis-cache
|
||||
env_file: env/netbox.env
|
||||
@@ -45,11 +45,11 @@ services:
|
||||
test: "ps -aux | grep -v grep | grep -q housekeeping || exit 1"
|
||||
|
||||
# postgres
|
||||
postgres:
|
||||
image: docker.io/postgres:16-alpine
|
||||
env_file: env/postgres.env
|
||||
volumes:
|
||||
- netbox-postgres-data:/var/lib/postgresql/data
|
||||
# postgres:
|
||||
# image: docker.io/postgres:16-alpine
|
||||
# env_file: env/postgres.env
|
||||
# volumes:
|
||||
# - netbox-postgres-data:/var/lib/postgresql/data
|
||||
|
||||
# redis
|
||||
redis:
|
||||
@@ -74,8 +74,8 @@ services:
|
||||
volumes:
|
||||
netbox-media-files:
|
||||
driver: local
|
||||
netbox-postgres-data:
|
||||
driver: local
|
||||
# netbox-postgres-data:
|
||||
# driver: local
|
||||
netbox-redis-cache-data:
|
||||
driver: local
|
||||
netbox-redis-data:
|
||||
|
||||
Reference in New Issue
Block a user