Skip to content

Instantly share code, notes, and snippets.

@garystafford

garystafford/gtm_stack.yml

Last active Oct 11, 2020
Embed
What would you like to do?
version: "3.8"
services:
timescaledb:
image: timescale/timescaledb:1.7.4-pg12
ports:
- "5432:5432/tcp"
networks:
- demo-iot-net
environment:
POSTGRES_USERNAME: postgres
POSTGRES_PASSWORD: postgres1234
POSTGRES_DB: demo_iot
deploy:
restart_policy:
condition: on-failure
volumes:
- $HOME/data/postgres:/var/lib/postgresql/data
grafana:
image: grafana/grafana:7.1.5
ports:
- "3000:3000/tcp"
networks:
- demo-iot-net
deploy:
restart_policy:
condition: on-failure
volumes:
- $HOME/data/grafana:/var/lib/grafana
user: $ID
mosquitto:
image: eclipse-mosquitto:1.6.12
ports:
- "1883:1883/tcp"
# - "9001:9001/tcp"
networks:
- demo-iot-net
deploy:
restart_policy:
condition: on-failure
volumes:
- $HOME/data/mosquitto:/mosquitto
pgadmin:
image: biarms/pgadmin4:4.21
ports:
- "5050:5050/tcp"
networks:
- demo-iot-net
deploy:
restart_policy:
condition: on-failure
networks:
demo-iot-net:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.