Move grafana data back to pool

This commit is contained in:
Jake Howard 2021-02-14 11:33:46 +00:00
parent 385917ba4e
commit d8f2a83dfe
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -9,7 +9,7 @@ services:
- GF_RENDERING_SERVER_URL=http://renderer:8081/render - GF_RENDERING_SERVER_URL=http://renderer:8081/render
- GF_RENDERING_CALLBACK_URL=http://grafana:3000/ - GF_RENDERING_CALLBACK_URL=http://grafana:3000/
volumes: volumes:
- ./grafana:/var/lib/grafana - "{{ app_data_dir }}/grafana:/var/lib/grafana"
restart: unless-stopped restart: unless-stopped
ports: ports:
- 3000:3000 - 3000:3000
@ -21,7 +21,7 @@ services:
image: postgres:12-alpine image: postgres:12-alpine
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- ./postgres:/var/lib/postgresql/data - /mnt/tank/dbs/postgres/grafana/:/var/lib/postgresql/data
environment: environment:
- POSTGRES_PASSWORD=grafana - POSTGRES_PASSWORD=grafana
- POSTGRES_USER=grafana - POSTGRES_USER=grafana