modified: gitea/docker-compose.yml
modified: nextcloud/docker-compose.yml modified: passbolt/docker-compose.yml modified: searxng/docker-compose.yml modified: traefik/docker-compose.yml
This commit is contained in:
+13
-18
@@ -1,15 +1,10 @@
|
||||
#version: '3'
|
||||
|
||||
services:
|
||||
reverse-proxy:
|
||||
restart: always
|
||||
# The official v2 Traefik docker image
|
||||
image: traefik:latest
|
||||
image: traefik:3
|
||||
read_only: true
|
||||
hostname: traefik.lan.ddnsgeek.com
|
||||
# build:
|
||||
# context: .
|
||||
# dockerfile: traefik.Dockerfile
|
||||
depends_on:
|
||||
- error-pages
|
||||
# Enables the web UI and tells Traefik to listen to docker
|
||||
@@ -29,27 +24,24 @@ services:
|
||||
- "--api=true"
|
||||
- "--api.dashboard=true"
|
||||
- "--providers.file.filename=/plugins.yaml"
|
||||
# - "--ping=true"
|
||||
# - "--ping.entrypoint=web"
|
||||
ports:
|
||||
# The HTTP port
|
||||
- "192.168.2.249:80:80"
|
||||
- "192.168.2.249:443:443"
|
||||
# The Web UI (enabled by --api.insecure=true)
|
||||
# - "8080:8080"
|
||||
volumes:
|
||||
# So that Traefik can listen to the Docker events
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
- ./data/letsencrypt:/letsencrypt:rw
|
||||
- ./data/plugins.yaml:/plugins.yaml:ro
|
||||
deploy:
|
||||
# resources:
|
||||
# limits:
|
||||
# cpus: '0.05'
|
||||
# memory: 200m
|
||||
restart_policy:
|
||||
condition: on-failure
|
||||
max_attempts: 5
|
||||
healthcheck:
|
||||
test: traefik healthcheck --ping
|
||||
test: traefik healthcheck --ping
|
||||
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.traefik.rule=Host(`traefik.lan.ddnsgeek.com`)"
|
||||
@@ -60,9 +52,11 @@ services:
|
||||
- "traefik.http.routers.traefik.tls.certresolver=myresolver"
|
||||
- "traefik.http.routers.traefik.tls=true"
|
||||
- "io.portainer.accesscontrol.public"
|
||||
networks:
|
||||
- reverse_proxy
|
||||
|
||||
error-pages:
|
||||
image: tarampampam/error-pages:latest # Using the latest tag is highly discouraged. Please, use tags in X.Y.Z format
|
||||
image: tarampampam/error-pages:3 # Using the latest tag is highly discouraged. Please, use tags in X.Y.Z format
|
||||
read_only: true
|
||||
environment:
|
||||
TEMPLATE_NAME: app-down # set the error pages template
|
||||
@@ -83,11 +77,12 @@ services:
|
||||
- "traefik.http.services.error-pages-service.loadbalancer.server.port=8080"
|
||||
- "io.portainer.accesscontrol.public"
|
||||
deploy:
|
||||
# resources:
|
||||
# limits:
|
||||
# cpus: '0.05'
|
||||
# memory: 100m
|
||||
restart_policy:
|
||||
condition: on-failure
|
||||
max_attempts: 5
|
||||
networks:
|
||||
- reverse_proxy
|
||||
|
||||
networks:
|
||||
reverse_proxy:
|
||||
driver: bridge
|
||||
|
||||
Reference in New Issue
Block a user