Define Image-Versions in .env File
This commit is contained in:
parent
1ae631d374
commit
11a4e38037
1 changed files with 5 additions and 5 deletions
|
@ -2,7 +2,7 @@ version: "3.3"
|
|||
services:
|
||||
|
||||
grafana:
|
||||
image: grafana/grafana:7.5.6
|
||||
image: grafana/grafana:${GRAFANA_VERSION}
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- web
|
||||
|
@ -37,7 +37,7 @@ services:
|
|||
|
||||
|
||||
grafanadb:
|
||||
image: postgres:13
|
||||
image: postgres:${POSTGRES_VERSION}
|
||||
volumes:
|
||||
- ${VOLUMES_PATH}/grafanadb:/var/lib/postgresql/data
|
||||
networks:
|
||||
|
@ -52,7 +52,7 @@ services:
|
|||
|
||||
|
||||
influxdb:
|
||||
image: influxdb:1.8
|
||||
image: influxdb:${INFLUXDB_VERSION}
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- web
|
||||
|
@ -78,7 +78,7 @@ services:
|
|||
# here starts data collection
|
||||
|
||||
telegraf_host:
|
||||
image: telegraf:1.18
|
||||
image: telegraf:${TELEGRAF_VERSION}
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- HOST_MOUNT_PREFIX=/hostfs
|
||||
|
@ -101,7 +101,7 @@ services:
|
|||
- influxdb
|
||||
|
||||
telegraf_net:
|
||||
image: telegraf:1.18
|
||||
image: telegraf:${TELEGRAF_VERSION}
|
||||
restart: unless-stopped
|
||||
env_file:
|
||||
- ./.env # set environments into container
|
||||
|
|
Loading…
Reference in a new issue