mirror of
https://github.com/TheNetworkGuy/netbox-zabbix-sync.git
synced 2025-07-13 15:24:48 -06:00
Moved compose override logic to infra folder
This commit is contained in:
parent
f303e7e01d
commit
989f6fa96e
2
.github/workflows/unittesting.yml
vendored
2
.github/workflows/unittesting.yml
vendored
@ -38,7 +38,7 @@ jobs:
|
||||
- name: configure and start Netbox
|
||||
run: |
|
||||
git clone -b release https://github.com/netbox-community/netbox-docker.git
|
||||
mv netbox-docker/docker-compose.override.yml.example netbox-docker/docker-compose.override.yml
|
||||
mv infra/netbox-compose.yml netbox-docker/docker-compose.override.yml
|
||||
docker compose -f netbox-docker/docker-compose.yml pull
|
||||
docker compose -f netbox-docker/docker-compose.yml up -d
|
||||
- name: Wait 2 minutes for compose stack to build
|
||||
|
22
infra/netbox-compose.yml
Normal file
22
infra/netbox-compose.yml
Normal file
@ -0,0 +1,22 @@
|
||||
services:
|
||||
netbox:
|
||||
ports:
|
||||
- "8000:8080"
|
||||
# If you want the Nginx unit status page visible from the
|
||||
# outside of the container add the following port mapping:
|
||||
# - "8001:8081"
|
||||
healthcheck:
|
||||
# Time for which the health check can fail after the container is started.
|
||||
# This depends mostly on the performance of your database. On the first start,
|
||||
# when all tables need to be created the start_period should be higher than on
|
||||
# subsequent starts. For the first start after major version upgrades of NetBox
|
||||
# the start_period might also need to be set higher.
|
||||
# Default value in our docker-compose.yml is 60s
|
||||
start_period: 90s
|
||||
# environment:
|
||||
# SKIP_SUPERUSER: "false"
|
||||
# SUPERUSER_API_TOKEN: ""
|
||||
# SUPERUSER_EMAIL: ""
|
||||
# SUPERUSER_NAME: ""
|
||||
# SUPERUSER_PASSWORD: ""
|
||||
|
Loading…
Reference in New Issue
Block a user