secure home-server endpoints

This commit is contained in:
2022-11-21 22:38:52 +00:00
parent 97f22195fb
commit ea6d4e486d
2 changed files with 6 additions and 14 deletions

View File

@@ -50,7 +50,7 @@ services:
- '--path.sysfs=/host/sys'
- '--collector.filesystem.mount-points-exclude=^/(sys|proc|dev|host|etc)($$|/)'
ports:
- 9100:9100
- ${INTERNAL_IP}:9100:9100
prometheus:
image: prom/prometheus:latest
container_name: prometheus
@@ -65,15 +65,13 @@ services:
- '--web.console.templates=/etc/prometheus/consoles'
- '--web.enable-lifecycle'
ports:
- 9090:9090
user: "1000:1000"
- ${INTERNAL_IP}:9090:9090
grafana:
image: grafana/grafana:latest
ports:
- ${INTERNAL_IP}:3000:3000
volumes:
- /home/willem/grafana:/var/lib/grafana
env_file:
- .env
- .env.production
ports:
- 3000:3000
user: "1000:1000"
volumes:
- /home/willem/grafana:/var/lib/grafana