element-web/compose.yml

36 lines
901 B
YAML
Raw Normal View History

2021-12-13 08:47:27 +00:00
---
version: "3.8"
services:
app:
2024-04-08 20:40:09 +00:00
image: "vectorim/element-web:v1.11.63"
2021-12-13 09:04:43 +00:00
environment:
- DOMAIN
2021-12-13 13:27:49 +00:00
- HOMESERVER
2021-12-13 09:04:43 +00:00
- SERVER_NAME
2021-12-13 08:47:27 +00:00
networks:
- proxy
2021-12-13 09:04:43 +00:00
configs:
- source: config_json
target: /app/config.json
2021-12-13 08:47:27 +00:00
deploy:
restart_policy:
condition: on-failure
labels:
- "traefik.enable=true"
2021-12-13 13:25:59 +00:00
- "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=80"
2021-12-13 09:04:43 +00:00
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`)"
2021-12-13 08:47:27 +00:00
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
2024-04-08 20:40:09 +00:00
- "coop-cloud.${STACK_NAME}.version=0.7.0+v1.11.63"
2021-12-13 08:47:27 +00:00
networks:
proxy:
external: true
2021-12-13 09:04:43 +00:00
2021-12-13 13:16:57 +00:00
configs:
config_json:
name: ${STACK_NAME}_config_json_${CONFIG_JSON_VERSION}
file: config.json.tmpl
template_driver: golang