matrix-docker-compose/ansible/roles/docker-compose/files/elementweb/docker-compose.yaml
2023-10-02 10:45:47 +02:00

25 lines
618 B
YAML

version: '3'
services:
elementweb:
image: vectorim/element-web:latest
restart: unless-stopped
environment:
- SERVERNAME=${homeServerFQDN}
- PUBLICBASEURL=${synapseFQDN}
- ELEMENTWEB=${elementWebFQDN}
#volumes:
# - ./element/config.json.sh:/app/config.json.sh
#command: sh -c "/app/config.json.sh && nginx -g 'daemon off;'"
#entrypoint: /app/config.json.sh
ports:
- "8008:80/tcp"
nginx:
image: nginx:${NGINX_VERSION}
ports:
- "80:80/tcp"
- "443:443/tcp"
volumes:
- ./nginx:/etc/nginx/conf.d
- /ssl:/ssl
- /www:/www