|
@ -18,7 +18,6 @@ services: |
|
|
hostname: netbox_instance |
|
|
hostname: netbox_instance |
|
|
|
|
|
|
|
|
depends_on: |
|
|
depends_on: |
|
|
- postgres |
|
|
|
|
|
- redis |
|
|
- redis |
|
|
- redis-cache |
|
|
- redis-cache |
|
|
- netbox-worker |
|
|
- netbox-worker |
|
@ -60,17 +59,6 @@ services: |
|
|
- netbox-static-files:/opt/netbox/netbox/static:ro |
|
|
- netbox-static-files:/opt/netbox/netbox/static:ro |
|
|
command: nginx -c /etc/netbox-nginx/nginx.conf |
|
|
command: nginx -c /etc/netbox-nginx/nginx.conf |
|
|
|
|
|
|
|
|
postgres: |
|
|
|
|
|
image: postgres:13.1-alpine |
|
|
|
|
|
container_name: netbox_postgres |
|
|
|
|
|
hostname: netbox_postgres |
|
|
|
|
|
|
|
|
|
|
|
ports: |
|
|
|
|
|
- "5439:5432" |
|
|
|
|
|
env_file: env/postgres.env |
|
|
|
|
|
volumes: |
|
|
|
|
|
- ./etc/postgres/var/lib/postgresql/data:/var/lib/postgresql/data |
|
|
|
|
|
|
|
|
|
|
|
redis: |
|
|
redis: |
|
|
image: redis:6.0.9-alpine |
|
|
image: redis:6.0.9-alpine |
|
|
container_name: netbox_redis |
|
|
container_name: netbox_redis |
|
|