mirror of
https://github.com/ArcticFoxes-net/Synapse-Docker-Compose.git
synced 2025-01-13 16:09:33 -05:00
Update docker-compose.yml
This commit is contained in:
parent
ca1d18d755
commit
35af97e1aa
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user