-
This commit is contained in:
@@ -3,6 +3,8 @@ services:
|
||||
build: ./datasource
|
||||
ports:
|
||||
- 127.0.0.1:6060:6060
|
||||
networks:
|
||||
- monitor
|
||||
volumes:
|
||||
- ./datasource/config.ini:/app/config.ini:ro
|
||||
- ./v/datasource/data:/app/data
|
||||
@@ -17,10 +19,22 @@ services:
|
||||
- GF_SECURITY_ADMIN_PASSWORD=boingboing
|
||||
ports:
|
||||
- 127.0.0.1:3000:3000
|
||||
networks:
|
||||
- monitor
|
||||
volumes:
|
||||
- ./v/grafana:/var/lib/grafana
|
||||
restart: unless-stopped
|
||||
|
||||
networks:
|
||||
monitor:
|
||||
driver: bridge
|
||||
driver_opts:
|
||||
com.docker.network.bridge.name: br-monitor
|
||||
ipam:
|
||||
config:
|
||||
- subnet: 10.0.10.0/24
|
||||
gateway: 10.0.10.1
|
||||
|
||||
# redis:
|
||||
# image: redis:8.0.3-alpine3.21
|
||||
# ports:
|
||||
|
||||
Reference in New Issue
Block a user