Skip to content

Commit

Permalink
Revert most changes
Browse files Browse the repository at this point in the history
  • Loading branch information
cimnine committed Oct 26, 2020
1 parent 4f49a8e commit 21dc7c3
Show file tree
Hide file tree
Showing 21 changed files with 5 additions and 6,401 deletions.
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,8 @@ The default credentials are:
## Documentation

Please refer [to our wiki on Github][netbox-docker-wiki] for further information on how to use this Netbox Docker image properly.
You'll learn how to read the integrated metrics using [Prometheus][prometheus] and [Grafana][grafana].
It also covers advanced topics such as using secret files, deployment to Kubernetes as well as NAPALM and LDAP configuration.
It covers advanced topics such as using files for secrets, deployment to Kubernetes and configuring NAPALM or LDAP.

[prometheus]: https://prometheus.io/
[grafana]: https://grafana.com/grafana/
[netbox-docker-wiki]: https://github.com/netbox-community/netbox-docker/wiki/

## Getting Help
Expand Down
63 changes: 0 additions & 63 deletions docker-compose.monitoring.yml

This file was deleted.

2 changes: 1 addition & 1 deletion docker-compose.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ services:
- 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-worker.env
env_file: env/redis.env
redis-cache:
image: redis:6-alpine
command:
Expand Down
7 changes: 2 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ services:
- netbox-nginx-config:/etc/netbox-nginx:z
- netbox-static-files:/opt/netbox/netbox/static:z
- netbox-media-files:/opt/netbox/netbox/media:z
- type: tmpfs
target: /tmp/metrics
read_only: false
netbox-worker:
<<: *netbox
depends_on:
Expand Down Expand Up @@ -57,15 +54,15 @@ services:
- 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-worker.env
env_file: env/redis.env
volumes:
- netbox-redis-data:/data
redis-cache:
image: redis:6-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
- redis-server --requirepass $$REDIS_PASSWORD ## $$ because of docker-compose
env_file: env/redis-cache.env

volumes:
Expand Down
3 changes: 0 additions & 3 deletions env/grafana.env

This file was deleted.

2 changes: 1 addition & 1 deletion env/netbox.env
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ EMAIL_SSL_CERTFILE=
EMAIL_SSL_KEYFILE=
MAX_PAGE_SIZE=1000
MEDIA_ROOT=/opt/netbox/netbox/media
METRICS_ENABLED=true
METRICS_ENABLED=false
NAPALM_USERNAME=
NAPALM_PASSWORD=
NAPALM_TIMEOUT=10
Expand Down
4 changes: 0 additions & 4 deletions env/postgres-exporter.env

This file was deleted.

2 changes: 0 additions & 2 deletions env/redis-cache-exporter.env

This file was deleted.

2 changes: 0 additions & 2 deletions env/redis-worker-exporter.env

This file was deleted.

File renamed without changes.
Empty file.
Loading

0 comments on commit 21dc7c3

Please sign in to comment.