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