initial commit

This commit is contained in:
W Anders
2024-05-06 17:37:57 -06:00
commit 12bcac933a
35 changed files with 3027 additions and 0 deletions
+39
View File
@@ -0,0 +1,39 @@
services:
netbox:
image: localhost/netbox-plugin-dns:latest
build:
context: .
dockerfile: ./netbox.Containerfile
depends_on:
- postgres
- redis
- redis-cache
env_file: env/netbox.env
user: 'unit:root'
healthcheck:
start_period: 60s
timeout: 3s
interval: 15s
test: "curl -f http://localhost:8080/api/ || exit 1"
ports:
- "9999:8080"
postgres:
image: docker.io/library/postgres:16
env_file: env/postgres.env
redis:
image: docker.io/library/redis:7
command:
- sh
- -c
- redis-server --appendonly yes --requirepass $$REDIS_PASSWORD
env_file: env/redis.env
redis-cache:
image: docker.io/library/redis:7
command:
- sh
- -c
- redis-server --requirepass $$REDIS_PASSWORD
env_file: env/redis-cache.env