jefflix-website/docker-compose.yml

28 lines
690 B
YAML

services:
jefflix:
build: .
restart: unless-stopped
read_only: true
tmpfs:
- /tmp
cap_drop:
- ALL
security_opt:
- no-new-privileges:true
environment:
- SMTP_HOST=${SMTP_HOST:-mail.rmail.online}
- SMTP_PORT=${SMTP_PORT:-587}
- SMTP_USER=${SMTP_USER}
- SMTP_PASS=${SMTP_PASS}
- ADMIN_EMAIL=${ADMIN_EMAIL:-jeff@jeffemmett.com}
labels:
- "traefik.enable=true"
- "traefik.http.routers.jefflix.rule=Host(`jefflix.lol`) || Host(`www.jefflix.lol`)"
- "traefik.http.services.jefflix.loadbalancer.server.port=3000"
networks:
- traefik-public
networks:
traefik-public:
external: true