Update docker-compose.yml

This commit is contained in:
Tommy 2022-01-13 10:40:32 -05:00 committed by GitHub
parent b6740ea90e
commit a6d3bbf839
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,12 +17,14 @@ services:
volumes:
- ./files:/data:Z
depends_on:
- db
- postgres
networks:
- synapse
db:
postgres:
image: docker.io/postgres:12-alpine
restart: unless-stopped
container_name: postgres
# Change that password, of course!
environment:
- POSTGRES_USER=synapse
@ -33,8 +35,16 @@ services:
networks:
- synapse
element:
image: vectorim/element-web
restart: unless-stopped
container_name: element
networks:
- synapse
swag:
image: ghcr.io/linuxserver/swag
restart: unless-stopped
container_name: swag
cap_add:
- NET_ADMIN
@ -42,7 +52,7 @@ services:
- PUID=1000
- PGID=1000
- URL=arcticfoxes.net
- SUBDOMAINS=matrix,app
- SUBDOMAINS=matrix,app,jitsi
- VALIDATION=http
- EMAIL=changeme@arcticfoxes.net
- ONLY_SUBDOMAINS=true
@ -55,4 +65,3 @@ services:
- 80:80
networks:
- synapse
restart: unless-stopped