Update docker-compose.yml

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2022-11-24 22:41:53 -05:00 committed by GitHub
parent 0f04babf91
commit ed2c9d2359
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,8 +10,8 @@ services:
image: ghcr.io/tommytran732/synapse:latest image: ghcr.io/tommytran732/synapse:latest
# Since synapse does not retry to connect to the database, restart upon # Since synapse does not retry to connect to the database, restart upon
# failure # failure
restart: unless-stopped
container_name: synapse container_name: synapse
restart: unless-stopped
# Comment out the next line if you are using the official image. # Comment out the next line if you are using the official image.
user: "991:991" user: "991:991"
# See the readme for a full documentation of the environment settings # See the readme for a full documentation of the environment settings
@ -34,8 +34,8 @@ services:
postgres: postgres:
image: docker.io/postgres-15:alpine image: docker.io/postgres-15:alpine
restart: unless-stopped
container_name: postgres container_name: postgres
restart: unless-stopped
# Change that password, of course! # Change that password, of course!
environment: environment:
- POSTGRES_USER=synapse - POSTGRES_USER=synapse
@ -57,8 +57,8 @@ services:
element: element:
image: vectorim/element-web:latest image: vectorim/element-web:latest
restart: unless-stopped
container_name: element container_name: element
restart: unless-stopped
volumes: volumes:
- ./element/config.json:/app/config.json:Z - ./element/config.json:/app/config.json:Z
networks: networks:
@ -78,8 +78,8 @@ services:
swag: swag:
image: ghcr.io/linuxserver/swag image: ghcr.io/linuxserver/swag
restart: unless-stopped
container_name: swag container_name: swag
restart: unless-stopped
cap_add: cap_add:
- NET_ADMIN - NET_ADMIN
environment: environment: