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