|
@@ -15,7 +15,7 @@ services:
|
|
- 80:80
|
|
- 80:80
|
|
- 443:443
|
|
- 443:443
|
|
deploy:
|
|
deploy:
|
|
- replicas: 2 # https://youtu.be/btHpHjabRcc
|
|
|
|
|
|
+ #replicas: 2 # https://youtu.be/btHpHjabRcc
|
|
placement:
|
|
placement:
|
|
constraints:
|
|
constraints:
|
|
- node.role == manager
|
|
- node.role == manager
|
|
@@ -40,7 +40,7 @@ services:
|
|
|
|
|
|
volumes:
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
- - ${CONTAINERS_DIR}/traefik:/certificates
|
|
|
|
|
|
+ - ${CONTAINERS_DIR}/traefik/static.toml:/certificates/static.toml
|
|
command:
|
|
command:
|
|
# Require a "traefik.enable=true" label
|
|
# Require a "traefik.enable=true" label
|
|
- --providers.docker.exposedbydefault=false
|
|
- --providers.docker.exposedbydefault=false
|
|
@@ -148,7 +148,7 @@ services:
|
|
# They can be used with `migrate_config` to build
|
|
# They can be used with `migrate_config` to build
|
|
# homeserver.yaml
|
|
# homeserver.yaml
|
|
# environment:
|
|
# environment:
|
|
- # - SYNAPSE_SERVER_NAME=matrix.jibby.org
|
|
|
|
|
|
+ # - SYNAPSE_SERVER_NAME=matrix.${DOMAIN}
|
|
# - SYNAPSE_REPORT_STATS=no
|
|
# - SYNAPSE_REPORT_STATS=no
|
|
# - SYNAPSE_NO_TLS=true
|
|
# - SYNAPSE_NO_TLS=true
|
|
# - SYNAPSE_ENABLE_REGISTRATION=no
|
|
# - SYNAPSE_ENABLE_REGISTRATION=no
|
|
@@ -199,8 +199,6 @@ services:
|
|
volumes:
|
|
volumes:
|
|
- ${CONTAINERS_DIR}/jellyfin:/config
|
|
- ${CONTAINERS_DIR}/jellyfin:/config
|
|
- ${MEDIA_DIR}:/media
|
|
- ${MEDIA_DIR}:/media
|
|
- #- /dev/shm/jellyfin-transcodes:/transcodes
|
|
|
|
- #- /dev/shm/jellyfin-cache:/cache
|
|
|
|
restart: always
|
|
restart: always
|
|
|
|
|
|
jellyfixer:
|
|
jellyfixer:
|
|
@@ -215,18 +213,3 @@ services:
|
|
environment:
|
|
environment:
|
|
- JELLYFIXER_INTERNAL_URL=http://jellyfin:8096/jellyfin
|
|
- JELLYFIXER_INTERNAL_URL=http://jellyfin:8096/jellyfin
|
|
- JELLYFIXER_EXTERNAL_URL=https://jellyfin.${DOMAIN}/jellyfin
|
|
- JELLYFIXER_EXTERNAL_URL=https://jellyfin.${DOMAIN}/jellyfin
|
|
-
|
|
|
|
- # An example of a static HTTP file hosting site
|
|
|
|
- #camera:
|
|
|
|
- # image: nginx
|
|
|
|
- # deploy:
|
|
|
|
- # labels:
|
|
|
|
- # - traefik.enable=true
|
|
|
|
- # - traefik.http.routers.camera.tls=true
|
|
|
|
- # - traefik.http.routers.camera.rule=Host(`camera.${DOMAIN}`)
|
|
|
|
- # - traefik.http.services.camera.loadbalancer.server.port=80
|
|
|
|
- # volumes:
|
|
|
|
- # - ${MEDIA_DIR}/Camera:/home/app:ro
|
|
|
|
- # - ./conf.d/static.conf:/etc/nginx/sites-enabled/default
|
|
|
|
- # - ./conf.d/static.conf:/etc/nginx/conf.d/default.conf
|
|
|
|
- # restart: always
|
|
|