Skip to content

Commit c95587f

Browse files
authored
Merge pull request #111 from ryanmerolle/dev
1.2.0 release
2 parents ed0e635 + e4c0395 commit c95587f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+388
-1281
lines changed

.devcontainer/Dockerfile-plugin_dev

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
ARG NETBOX_VARIANT=v3.3
1+
ARG NETBOX_VARIANT=v3.4
22

33
FROM netboxcommunity/netbox:${NETBOX_VARIANT}
44

5-
ARG NETBOX_INITIALIZERS_VARIANT=3.3.*
5+
ARG NETBOX_INITIALIZERS_VARIANT=3.4.*
66

77
ARG DEBIAN_FRONTEND=noninteractive
88

.devcontainer/docker-compose.yml

Lines changed: 31 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,37 +10,53 @@ services:
1010
#- netbox-worker
1111
env_file: env/netbox.env
1212
user: 'unit:root'
13+
healthcheck:
14+
start_period: 60s
15+
timeout: 3s
16+
interval: 15s
17+
test: "curl -f http://localhost:8080/api/ || exit 1"
1318
volumes:
14-
- ./initializers:/opt/netbox/initializers:z,ro
1519
- ./configuration:/etc/netbox/config:z,ro
20+
#- ./reports:/etc/netbox/reports:z,ro
21+
#- ./scripts:/etc/netbox/scripts:z,ro
1622
#- netbox-media-files:/opt/netbox/netbox/media:z
1723
#netbox-worker:
1824
# <<: *netbox
1925
# depends_on:
20-
# - redis
21-
# - postgres
26+
# netbox:
27+
# condition: service_healthy
2228
# command:
2329
# - /opt/netbox/venv/bin/python
2430
# - /opt/netbox/netbox/manage.py
2531
# - rqworker
32+
# healthcheck:
33+
# start_period: 20s
34+
# timeout: 3s
35+
# interval: 15s
36+
# test: "ps -aux | grep -v grep | grep -q rqworker || exit 1"
2637
#netbox-housekeeping:
2738
# <<: *netbox
2839
# depends_on:
29-
# - redis
30-
# - postgres
40+
# netbox:
41+
# condition: service_healthy
3142
# command:
3243
# - /opt/netbox/housekeeping.sh
44+
# healthcheck:
45+
# start_period: 20s
46+
# timeout: 3s
47+
# interval: 15s
48+
# test: "ps -aux | grep -v grep | grep -q housekeeping || exit 1"
3349

3450
# postgres
3551
postgres:
36-
image: postgres:14-alpine
52+
image: postgres:15-alpine
3753
env_file: env/postgres.env
3854
volumes:
3955
- netbox-postgres-data:/var/lib/postgresql/data
4056

4157
# redis
4258
redis:
43-
image: redis:6-alpine
59+
image: redis:7-alpine
4460
command:
4561
- sh
4662
- -c # this is to evaluate the $REDIS_PASSWORD from the env
@@ -49,12 +65,14 @@ services:
4965
#volumes:
5066
# - netbox-redis-data:/data
5167
#redis-cache:
52-
# image: redis:6-alpine
68+
# image: redis:7-alpine
5369
# command:
54-
# - sh
55-
# - -c # this is to evaluate the $REDIS_PASSWORD from the env
56-
# - redis-server --requirepass $$REDIS_PASSWORD ## $$ because of docker-compose
70+
# - sh
71+
# - -c # this is to evaluate the $REDIS_PASSWORD from the env
72+
# - redis-server --requirepass $$REDIS_PASSWORD ## $$ because of docker-compose
5773
# env_file: env/redis-cache.env
74+
# volumes:
75+
# - netbox-redis-cache-data:/data
5876

5977
volumes:
6078
#netbox-media-files:
@@ -63,3 +81,5 @@ volumes:
6381
driver: local
6482
#netbox-redis-data:
6583
# driver: local
84+
#netbox-redis-cache-data:
85+
# driver: local

.devcontainer/initializers/aggregates.yml

Lines changed: 0 additions & 8 deletions
This file was deleted.

.devcontainer/initializers/asns.yml

Lines changed: 0 additions & 8 deletions
This file was deleted.

.devcontainer/initializers/cables.yml

Lines changed: 0 additions & 72 deletions
This file was deleted.

.devcontainer/initializers/circuit_types.yml

Lines changed: 0 additions & 7 deletions
This file was deleted.

.devcontainer/initializers/circuits.yml

Lines changed: 0 additions & 8 deletions
This file was deleted.

.devcontainer/initializers/cluster_groups.yml

Lines changed: 0 additions & 5 deletions
This file was deleted.

.devcontainer/initializers/cluster_types.yml

Lines changed: 0 additions & 3 deletions
This file was deleted.

.devcontainer/initializers/clusters.yml

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)