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