2023-09-30 14:42:16 +00:00
|
|
|
# vim: ft=yaml.docker-compose
|
|
|
|
version: "3.8"
|
|
|
|
|
|
|
|
services:
|
2023-09-30 16:15:27 +00:00
|
|
|
app:
|
2023-09-30 14:42:16 +00:00
|
|
|
image: avhost/docker-matrix-element:{{ services.element.version }}
|
|
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
|
|
- external_services
|
|
|
|
expose:
|
|
|
|
- "8080"
|
|
|
|
volumes:
|
|
|
|
- "./data:/data"
|
|
|
|
environment:
|
|
|
|
VIRTUAL_HOST: "{{ services.element.domain }}"
|
|
|
|
VIRTUAL_PORT: "8080"
|
|
|
|
LETSENCRYPT_HOST: "{{ services.element.domain }}"
|
|
|
|
LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"
|
|
|
|
|
|
|
|
networks:
|
|
|
|
external_services:
|
|
|
|
external: true
|