mirror of
https://github.com/ArcticFoxes-net/Synapse-Docker-Compose.git
synced 2024-06-29 02:22:08 +00:00
Update docker-compose.yml
This commit is contained in:
parent
ca1d18d755
commit
35af97e1aa
|
@ -18,8 +18,8 @@ services:
|
||||||
- ./files:/data:Z
|
- ./files:/data:Z
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
ports:
|
networks:
|
||||||
- 127.0.0.1:8448:8448/tcp
|
- synapse
|
||||||
|
|
||||||
db:
|
db:
|
||||||
image: docker.io/postgres:12-alpine
|
image: docker.io/postgres:12-alpine
|
||||||
|
@ -30,3 +30,29 @@ services:
|
||||||
- POSTGRES_INITDB_ARGS=--encoding=UTF-8 --lc-collate=C --lc-ctype=C
|
- POSTGRES_INITDB_ARGS=--encoding=UTF-8 --lc-collate=C --lc-ctype=C
|
||||||
volumes:
|
volumes:
|
||||||
- ./schemas:/var/lib/postgresql/data:Z
|
- ./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