gitea_webhooks/docker-compose.yml

27 lines
650 B
YAML

version: '3'
services:
gitea-webhooks:
container_name: gitea-webhooks
build: .
restart: always
environment:
- SMTP_HOST=${SMTP_HOST}
- SMTP_PORT=${SMTP_PORT}
- SMTP_FROM=${SMTP_FROM}
- SMTP_USER=${SMTP_USER}
- SMTP_PASSWORD=${SMTP_PASSWORD}
- SMTP_ENCRYPTION=${SMTP_ENCRYPTION}
- SECRET_KEY=${SECRET_KEY}
- RECIPIENTS_PR=${RECIPIENTS_PR}
- DOMAIN_NAME=${DOMAIN_NAME}
labels:
- traefik.enable=true
- traefik.frontend.rule=Host:${DOMAIN_NAME}
- traefik.port=80
- traefik.docker.network=web
networks:
- web
networks:
web:
external: true