24 lines
597 B
YAML
24 lines
597 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:
|
|
- "80:80/tcp"
|
|
|
|
nginx:
|
|
image: nginx:${NGINX_VERSION}
|
|
ports:
|
|
- "80:80/tcp"
|
|
- "443:443/tcp"
|
|
volumes:
|
|
- ./nginx:/etc/nginx/conf.d
|
|
- /ssl:/ssl
|