Move homeautomation for postgresql

main
Marko Korhonen 4 years ago
parent 42b23d06d0
commit 343787d252

@ -13,7 +13,7 @@ services:
restart: unless-stopped
networks:
- homeautomation
- mariadb
- postgres
- proxy
ports:
- "8123:8123"
@ -133,11 +133,11 @@ services:
volumes:
- /docker/homeautomation/gotify:/app/data
environment:
- GOTIFY_DATABASE_DIALECT=mysql
- GOTIFY_DATABASE_CONNECTION=gotify:gotify@tcp(mariadb:3306)/gotify?charset=utf8&parseTime=True&loc=Local
- GOTIFY_DATABASE_DIALECT=postgres
- GOTIFY_DATABASE_CONNECTION="host=postgres port=5432 user=gotify dbname=gotify password=${GOTIFY_PGPASS} sslmode=disable"
networks:
- proxy
- mariadb
- postgres
restart: unless-stopped
labels:
- "traefik.enable=true"
@ -158,7 +158,7 @@ services:
networks:
homeautomation:
external: false
mariadb:
postgres:
external: true
proxy:
external: true

Loading…
Cancel
Save