Move homeautomation for postgresql
This commit is contained in:
parent
42b23d06d0
commit
343787d252
1 changed files with 5 additions and 5 deletions
|
@ -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…
Reference in a new issue