forked from data.coop/ansible
23 lines
523 B
Plaintext
23 lines
523 B
Plaintext
|
# vim: ft=yaml.docker-compose
|
||
|
version: "3.8"
|
||
|
|
||
|
services:
|
||
|
element:
|
||
|
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
|