mirror of
https://github.com/lucaspalomodevelop/netbox-acls.git
synced 2026-03-12 23:27:23 +00:00
* 3.7 prep * bump image versions to match netbox-docker * add documentation on creating releases * fix typos in docs
29 lines
586 B
YAML
29 lines
586 B
YAML
---
|
|
version: '3.4'
|
|
|
|
services:
|
|
netbox:
|
|
build:
|
|
dockerfile: Dockerfile
|
|
context: .
|
|
depends_on:
|
|
- postgres
|
|
- redis
|
|
env_file: env/netbox.env
|
|
volumes:
|
|
- ./configuration:/etc/netbox/config:z,ro
|
|
|
|
# postgres
|
|
postgres:
|
|
image: postgres:16-alpine
|
|
env_file: env/postgres.env
|
|
|
|
# redis
|
|
redis:
|
|
image: redis:7-alpine
|
|
command:
|
|
- sh
|
|
- -c # this is to evaluate the $REDIS_PASSWORD from the env
|
|
- redis-server --appendonly yes --requirepass $$REDIS_PASSWORD ## $$ because of docker-compose
|
|
env_file: env/redis.env
|