Migrate matrix
This commit is contained in:
parent
669279b4ed
commit
f3a8de985d
5 changed files with 33 additions and 22 deletions
|
@ -11,6 +11,6 @@
|
||||||
# - { role: cloud, tags: ["cloud"] }
|
# - { role: cloud, tags: ["cloud"] }
|
||||||
- { role: home_assistant, tags: ["home_assistant"] }
|
- { role: home_assistant, tags: ["home_assistant"] }
|
||||||
- { role: n8n, tags: ["n8n"] }
|
- { role: n8n, tags: ["n8n"] }
|
||||||
# - { role: matrix, tags: ["matrix"] }
|
- { role: matrix, tags: ["matrix"] }
|
||||||
# - { role: iptables, tags: ["iptables"] }
|
# - { role: iptables, tags: ["iptables"] }
|
||||||
# - { role: clean, tags: ["clean"] }
|
# - { role: clean, tags: ["clean"] }
|
||||||
|
|
|
@ -21,6 +21,3 @@ services:
|
||||||
- "traefik.http.routers.homeassistant-secure.tls.certresolver=sslResolver"
|
- "traefik.http.routers.homeassistant-secure.tls.certresolver=sslResolver"
|
||||||
# - "traefik.http.routers.homeassistant-secure.service=homeassistant"
|
# - "traefik.http.routers.homeassistant-secure.service=homeassistant"
|
||||||
- "traefik.http.services.homeassistant.loadbalancer.server.port=8123"
|
- "traefik.http.services.homeassistant.loadbalancer.server.port=8123"
|
||||||
|
|
||||||
volumes:
|
|
||||||
home_assistant_config:
|
|
|
@ -7,7 +7,7 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- internal
|
- internal
|
||||||
volumes:
|
volumes:
|
||||||
- db:/var/lib/postgresql/data
|
- {{ server.work_dir }}/matrix/db:/var/lib/postgresql/data
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_DB=synapse
|
- POSTGRES_DB=synapse
|
||||||
- POSTGRES_USER=synapse
|
- POSTGRES_USER=synapse
|
||||||
|
@ -23,10 +23,10 @@ services:
|
||||||
- internal
|
- internal
|
||||||
- proxy
|
- proxy
|
||||||
volumes:
|
volumes:
|
||||||
- matrix:/data
|
- {{ server.work_dir }}/matrix/base:/data
|
||||||
- mautrix_facebook:/facebook_data
|
- {{ server.work_dir }}/matrix/mautrix_facebook:/facebook_data
|
||||||
- mautrix_instagram:/instagram_data
|
- {{ server.work_dir }}/matrix/mautrix_instagram:/instagram_data
|
||||||
- mautrix_discord:/discord_data
|
- {{ server.work_dir }}/matrix/mautrix_discord:/discord_data
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.http.routers.matrix-secure.entrypoints=https"
|
- "traefik.http.routers.matrix-secure.entrypoints=https"
|
||||||
|
@ -56,12 +56,33 @@ services:
|
||||||
- "traefik.http.routers.matrix-wellknown.middlewares=cors-headers@docker"
|
- "traefik.http.routers.matrix-wellknown.middlewares=cors-headers@docker"
|
||||||
- "traefik.docker.network=proxy"
|
- "traefik.docker.network=proxy"
|
||||||
|
|
||||||
volumes:
|
# BRIDGE
|
||||||
db:
|
mautrix-facebook:
|
||||||
matrix:
|
container_name: mautrix-facebook
|
||||||
mautrix_facebook:
|
image: dock.mau.dev/mautrix/facebook:v0.4.1
|
||||||
mautrix_instagram:
|
restart: unless-stopped
|
||||||
mautrix_discord:
|
networks:
|
||||||
|
- internal
|
||||||
|
volumes:
|
||||||
|
- {{ server.work_dir }}/matrix/mautrix_facebook:/data
|
||||||
|
|
||||||
|
mautrix-instagram:
|
||||||
|
container_name: mautrix-instagram
|
||||||
|
image: dock.mau.dev/mautrix/instagram:v0.2.3
|
||||||
|
restart: unless-stopped
|
||||||
|
networks:
|
||||||
|
- internal
|
||||||
|
volumes:
|
||||||
|
- {{ server.work_dir }}/matrix/mautrix_instagram:/data
|
||||||
|
|
||||||
|
mautrix-discord:
|
||||||
|
container_name: mautrix-discord
|
||||||
|
image: dock.mau.dev/mautrix/discord:v0.2.0
|
||||||
|
restart: unless-stopped
|
||||||
|
networks:
|
||||||
|
- internal
|
||||||
|
volumes:
|
||||||
|
- {{ server.work_dir }}/matrix/mautrix_discord:/data
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
internal:
|
internal:
|
||||||
|
|
|
@ -40,10 +40,6 @@ services:
|
||||||
- DB_POSTGRESDB_USER=n8n
|
- DB_POSTGRESDB_USER=n8n
|
||||||
- DB_POSTGRESDB_PASSWORD=n8n
|
- DB_POSTGRESDB_PASSWORD=n8n
|
||||||
|
|
||||||
volumes:
|
|
||||||
n8n:
|
|
||||||
db:
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
internal:
|
internal:
|
||||||
proxy:
|
proxy:
|
||||||
|
|
|
@ -10,9 +10,6 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- {{ server.work_dir }}/protonmail/base:/root
|
- {{ server.work_dir }}/protonmail/base:/root
|
||||||
|
|
||||||
volumes:
|
|
||||||
protonmail:
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
protonmail:
|
protonmail:
|
||||||
external: true
|
external: true
|
||||||
|
|
Loading…
Reference in a new issue