Update docker-compose.yml

This commit is contained in:
Tommy 2022-01-13 10:26:55 -05:00 committed by GitHub
parent ca1d18d755
commit 35af97e1aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,8 +18,8 @@ services:
- ./files:/data:Z
depends_on:
- db
ports:
- 127.0.0.1:8448:8448/tcp
networks:
- synapse
db:
image: docker.io/postgres:12-alpine
@ -30,3 +30,29 @@ services:
- POSTGRES_INITDB_ARGS=--encoding=UTF-8 --lc-collate=C --lc-ctype=C
volumes:
- ./schemas:/var/lib/postgresql/data:Z
networks:
- synapse
swag:
image: ghcr.io/linuxserver/swag
container_name: swag
cap_add:
- NET_ADMIN
environment:
- PUID=1000
- PGID=1000
- URL=arcticfoxes.net
- SUBDOMAINS=matrix
- VALIDATION=http
- EMAIL=changeme@arcticfoxes.net
- ONLY_SUBDOMAINS=true
volumes:
- ./swag:/config:Z
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- 443:443
- 80:80
networks:
- synapse
restart: unless-stopped