Update docker-compose.yml
Some checks failed
Deployment Verification / deploy-and-test (push) Has been cancelled
Some checks failed
Deployment Verification / deploy-and-test (push) Has been cancelled
This commit is contained in:
parent
20c50cad4c
commit
ff9b7cd84f
@ -2,41 +2,66 @@
|
|||||||
networks:
|
networks:
|
||||||
traefik_front_network:
|
traefik_front_network:
|
||||||
external: true
|
external: true
|
||||||
back_network_:
|
back_network_uptimekuma:
|
||||||
driver: bridge
|
driver: bridge
|
||||||
attachable: true
|
attachable: true
|
||||||
|
|
||||||
#### SERVICES
|
#### SERVICES
|
||||||
services:
|
services:
|
||||||
### hello_world
|
uptime-kuma:
|
||||||
hello_world:
|
image: louislam/uptime-kuma:1
|
||||||
container_name: gitea-app
|
|
||||||
hostname: gitea-app
|
|
||||||
image: hello-world
|
|
||||||
environment:
|
|
||||||
restart: always
|
|
||||||
networks:
|
|
||||||
# - back_network_gitea
|
|
||||||
- traefik_front_network
|
|
||||||
volumes:
|
volumes:
|
||||||
|
- ./data:/app/data
|
||||||
|
# - ./server:/app/server
|
||||||
|
# - ./db:/app/db
|
||||||
|
# ports:
|
||||||
|
# <Host Port>:<Container Port>
|
||||||
|
# - 3001:3001
|
||||||
|
restart: unless-stopped
|
||||||
|
networks:
|
||||||
|
- traefik_front_network
|
||||||
|
- back_network_uptimekuma
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.docker.network=traefik_front_network"
|
- "traefik.docker.network=traefik_front_network"
|
||||||
# HTTP
|
# HTTP
|
||||||
- "traefik.http.routers.hello-world-http.rule=Host(`hello-world.tips-of-mine.com`)"
|
- "traefik.http.routers.uptime-kuma-http.rule=Host(`uptime-kuma.tips-of-mine.com`)"
|
||||||
- "traefik.http.routers.hello-world-http.entrypoints=http"
|
- "traefik.http.routers.uptime-kuma-http.entrypoints=http"
|
||||||
- "traefik.http.routers.hello-world-http.priority=49"
|
- "traefik.http.routers.uptime-kuma-http.priority=49"
|
||||||
# HTTPS
|
# HTTPS
|
||||||
- "traefik.http.routers.hello-world-https.rule=Host(`hello-world.tips-of-mine.com`)"
|
- "traefik.http.routers.uptime-kuma-https.rule=Host(`uptime-kuma.tips-of-mine.com`)"
|
||||||
- "traefik.http.routers.hello-world-https.entrypoints=https"
|
- "traefik.http.routers.uptime-kuma-https.entrypoints=https"
|
||||||
- "traefik.http.routers.hello-world-https.tls=true"
|
- "traefik.http.routers.uptime-kuma-https.tls=true"
|
||||||
- "traefik.http.routers.hello-world-https.priority=50"
|
- "traefik.http.routers.uptime-kuma-https.priority=50"
|
||||||
- "traefik.http.routers.gitea.service=gitea-https-service"
|
- "traefik.http.routers.uptime-kuma.service=uptime-kuma-service"
|
||||||
# Middleware
|
# Middleware
|
||||||
# Service
|
# Service
|
||||||
# - "traefik.http.services.gitea-https-service.loadbalancer.server.port=3000"
|
- "traefik.http.services.uptime-kuma-service.loadbalancer.server.port=3001"
|
||||||
# - "traefik.http.services.gitea-https-service.loadbalancer.server.scheme=https"
|
|
||||||
# - "traefik.http.services.gitea-https-service.loadbalancer.healthcheck.hostname=gitea.traefik.me"
|
###
|
||||||
# - "traefik.http.services.gitea-https-service.loadbalancer.healthcheck.method=foobar"
|
msmtpd:
|
||||||
# - "traefik.http.services.gitea-https-service.loadbalancer.healthcheck.timeout=10"
|
container_name: uptime-kuma-msmtpd
|
||||||
# - "traefik.http.services.gitea-https-service.loadbalancer.healthcheck.interval=30"
|
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user