All checks were successful
Deployment Verification / deploy-and-test (push) Successful in 47s
65 lines
1.8 KiB
YAML
65 lines
1.8 KiB
YAML
#### NETWORKS
|
|
networks:
|
|
traefik_front_network:
|
|
external: true
|
|
back_network_uptimekuma:
|
|
driver: bridge
|
|
attachable: true
|
|
|
|
#### SERVICES
|
|
services:
|
|
uptime-kuma:
|
|
image: louislam/uptime-kuma:1
|
|
volumes:
|
|
- ./data:/app/data
|
|
# - ./server:/app/server
|
|
# - ./db:/app/db
|
|
restart: unless-stopped
|
|
networks:
|
|
- traefik_front_network
|
|
- back_network_uptimekuma
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.docker.network=traefik_front_network"
|
|
# HTTP
|
|
- "traefik.http.routers.uptime-kuma-http.rule=Host(`uptime-kuma.tips-of-mine.com`)"
|
|
- "traefik.http.routers.uptime-kuma-http.entrypoints=http"
|
|
- "traefik.http.routers.uptime-kuma-http.priority=49"
|
|
# HTTPS
|
|
- "traefik.http.routers.uptime-kuma-https.rule=Host(`uptime-kuma.tips-of-mine.com`)"
|
|
- "traefik.http.routers.uptime-kuma-https.entrypoints=https"
|
|
- "traefik.http.routers.uptime-kuma-https.tls=true"
|
|
- "traefik.http.routers.uptime-kuma-https.priority=50"
|
|
- "traefik.http.routers.uptime-kuma.service=uptime-kuma-service"
|
|
# Middleware
|
|
# Service
|
|
- "traefik.http.services.uptime-kuma-service.loadbalancer.server.port=3001"
|
|
|
|
###
|
|
msmtpd:
|
|
container_name: uptime-kuma-msmtpd
|
|
hostname: uptime-kuma-msmtpd
|
|
image: crazymax/msmtpd:latest
|
|
networks:
|
|
- back_network_uptimekuma
|
|
environment:
|
|
- "TZ=Europe/Paris"
|
|
- "PUID=1500"
|
|
- "PGID=1500"
|
|
- "SMTP_HOST=10.0.4.52"
|
|
- "SMTP_PORT=587"
|
|
- "SMTP_TLS=on"
|
|
- "SMTP_STARTTLS=on"
|
|
- "SMTP_TLS_CHECKCERT=off"
|
|
- "SMTP_AUTH=on"
|
|
- "SMTP_USER=hostinfo@tips-of-mine.fr"
|
|
- "SMTP_PASSWORD=P@ssw0rd!12345+"
|
|
- "SMTP_DOMAIN=localhost"
|
|
- "SMTP_FROM=hostinfo@tips-of-mine.fr"
|
|
restart: always
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "echo EHLO localhost"]
|
|
interval: 5s
|
|
timeout: 5s
|
|
retries: 5
|