first commit

This commit is contained in:
fossilfranv 2021-02-10 11:07:34 -08:00
parent 1e635a2e88
commit 948cc461c4

35
docker-compose.yml Normal file
View File

@ -0,0 +1,35 @@
version: "3.3"
services:
postgresql:
image: postgres:latest
restart: always
environment:
POSTGRES_PASSWORD: yOuMuStBeKidDiNgMe
POSTGRES_USER: synapse
POSTGRES_DB: synapse
POSTGRES_INITDB_ARGS: "--encoding='UTF8' --lc-collate='C' --lc-ctype='C'"
volumes:
- "./postgresdata:/var/lib/postgresql/"
networks: ["matrix_back"]
synapse:
image: "matrixdotorg/synapse:latest"
container_name: "synapse"
volumes:
- "./data:/data"
environment:
VIRTUAL_HOST: "matrix.airdog.site"
VIRTUAL_PORT: 8008
LETSENCRYPT_HOST: "matrix.airdog.site"
SYNAPSE_SERVER_NAME: "matrix.airdog.site"
LETSENCRYPT_EMAIL: "ouch@thetrauma.org"
SYNAPSE_REPORT_STATS: "yes"
networks: ["franvproxy_test_proxy-tier","matrix_back"]
networks:
matrix_back:
franvproxy_test_proxy-tier:
external: true