datacoop.ansible/roles/docker/templates/compose-files/element.yml.j2

23 lines
519 B
Plaintext
Raw Normal View History

# vim: ft=yaml.docker-compose
version: "3.8"
services:
2023-09-30 16:15:27 +00:00
app:
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