[matrix] update redis and wokers for Task#12025
This commit is contained in:
parent
c3edc04869
commit
e5350b639b
7 changed files with 118 additions and 120 deletions
|
|
@ -1,19 +1,5 @@
|
|||
version: '3'
|
||||
services:
|
||||
#nginx:
|
||||
# container_name: nginx
|
||||
# image: ungleich/ungleich-certbot:1.1.4
|
||||
# restart: unless-stopped
|
||||
# environment:
|
||||
# - DOMAIN=${DOMAIN}
|
||||
# - EMAIL=${EMAIL}
|
||||
# - STAGING=${STAGING}
|
||||
# ports:
|
||||
# - "443:443/tcp"
|
||||
# volumes:
|
||||
# - ./conf:/etc/nginx/conf.d
|
||||
# - ./etcletsencrypt:/etc/letsencrypt
|
||||
# - ./dconf/nginx.conf:/etc/nginx/nginx.conf
|
||||
synapse:
|
||||
image: matrixdotorg/synapse:latest
|
||||
restart: unless-stopped
|
||||
|
|
@ -29,9 +15,6 @@ services:
|
|||
- REDISHOST=${redishost}
|
||||
- REDISPORT=${redisport}
|
||||
network_mode: "host"
|
||||
#ports:
|
||||
# - "127.0.0.1:8008:8008/tcp"
|
||||
#- "[::1]:8008:8008/tcp"
|
||||
volumes:
|
||||
- ./synapse:/data
|
||||
entrypoint: sh -c "/data/homeserver.yaml.sh && chmod -R 777 /data && /start.py"
|
||||
|
|
@ -45,17 +28,14 @@ services:
|
|||
- ELEMENTWEB=${elementWebFQDN}
|
||||
volumes:
|
||||
- ./element/config.json.sh:/app/config.json.sh
|
||||
- ./element/element.conf.sh:/app/element.conf.sh
|
||||
- ./element/redirector.conf.sh:/app/redirector.conf.sh
|
||||
- ./element/synapse.conf.sh:/app/synapse.conf.sh
|
||||
- ./conf:/etc/nginx/conf.d
|
||||
- ./etcletsencrypt:/etc/letsencrypt
|
||||
- ./dconf/nginx.conf:/etc/nginx/nginx.conf
|
||||
command: sh -c "/app/config.json.sh && nginx -g 'daemon off;'"
|
||||
#entrypoint: /app/config.json.sh
|
||||
command: sh -c "/app/config.json.sh && /app/element.conf.sh && /app/redirector.conf.sh && /app/synapse.conf.sh && nginx -g 'daemon off;'"
|
||||
network_mode: "host"
|
||||
#ports:
|
||||
# - "443:443/tcp"
|
||||
# - "80:80/tcp"
|
||||
#- "127.0.0.1:8080:80/tcp"
|
||||
#- "[::1]:8080:80/tcp"
|
||||
|
||||
synapse-generic-worker-1:
|
||||
image: matrixdotorg/synapse:latest
|
||||
|
|
@ -89,8 +69,3 @@ services:
|
|||
SYNAPSE_WORKER: synapse.app.generic_worker
|
||||
depends_on:
|
||||
- synapse
|
||||
|
||||
# redis:
|
||||
# image: "redis:latest"
|
||||
# restart: "unless-stopped"
|
||||
# network_mode: "host"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue