Extra config [port] for dev environment
This commit is contained in:
parent
cb5ffa0354
commit
d683e37d77
|
@ -0,0 +1,3 @@
|
|||
# extra config for dev environment
|
||||
POSTGRES_PORT=5432
|
||||
REDIS_PORT=6379
|
|
@ -10,3 +10,4 @@ configuration/ldap/*
|
|||
!configuration/ldap/ldap_config.py
|
||||
prometheus.yml
|
||||
super-linter.log
|
||||
.env
|
||||
|
|
|
@ -35,6 +35,9 @@ services:
|
|||
env_file: env/postgres.env
|
||||
volumes:
|
||||
- netbox-postgres-data:/var/lib/postgresql/data
|
||||
ports:
|
||||
- "${POSTGRES_PORT-5432}:5432"
|
||||
restart: always
|
||||
|
||||
# redis
|
||||
redis:
|
||||
|
@ -46,6 +49,9 @@ services:
|
|||
env_file: env/redis.env
|
||||
volumes:
|
||||
- netbox-redis-data:/data
|
||||
ports:
|
||||
- "${REDIS_PORT-6379}:6379"
|
||||
restart: always
|
||||
redis-cache:
|
||||
image: redis:6-alpine
|
||||
command:
|
||||
|
|
Loading…
Reference in New Issue