2021-01-12 21:53:49 +00:00
|
|
|
version: '3'
|
|
|
|
services:
|
2021-01-12 22:02:43 +00:00
|
|
|
gitea-webhooks:
|
2021-01-12 21:53:49 +00:00
|
|
|
container_name: gitea-webhooks
|
|
|
|
build: .
|
|
|
|
restart: always
|
|
|
|
environment:
|
2021-01-13 18:09:26 +00:00
|
|
|
- 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}
|
2021-01-12 21:53:49 +00:00
|
|
|
labels:
|
2021-01-12 23:03:32 +00:00
|
|
|
- traefik.enable=true
|
2021-01-13 18:09:26 +00:00
|
|
|
- traefik.frontend.rule=Host:${DOMAIN_NAME}
|
2021-01-12 23:03:32 +00:00
|
|
|
- traefik.port=80
|
|
|
|
- traefik.docker.network=web
|
2021-01-12 21:53:49 +00:00
|
|
|
networks:
|
2021-01-12 23:03:32 +00:00
|
|
|
- web
|
2021-01-12 21:53:49 +00:00
|
|
|
networks:
|
2021-01-12 23:03:32 +00:00
|
|
|
web:
|
|
|
|
external: true
|