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:
git
2025-08-13 19:55:00 +10:00
parent a134423c9f
commit e320ebd247
5 changed files with 111 additions and 106 deletions
+13 -12
View File
@@ -1,4 +1,3 @@
#version: "3"
services:
webapp:
image: searxng/searxng
@@ -10,12 +9,8 @@ services:
- /run
hostname: searxng.lan.ddnsgeek.com
networks:
- traefik_default
- traefik_reverse_proxy
deploy:
# resources:
# limits:
# cpus: '0.05'
# memory: 100m
restart_policy:
condition: on-failure
max_attempts: 5
@@ -26,12 +21,18 @@ services:
- "traefik.http.routers.searxng.tls.certresolver=myresolver"
- "io.portainer.accesscontrol.public"
- "traefik.http.routers.searxng.middlewares=error-pages-middleware"
# - "traefik.http.services.searxng.loadbalancer.server.port=8888"
# ports:
# - 8081:8080
# healthcheck:
# test: "curl --fail http://localhost || exit 1"
healthcheck:
# test: >
# CMD-SHELL
# python3 -c "import urllib.request,sys;
# u=urllib.request.urlopen('http://127.0.0.1:8080/', timeout=2);
# sys.exit(0 if u.status==200 else 1)"
test: ["CMD-SHELL", "python3 -c \"import urllib.request,sys; r=urllib.request.urlopen('http://127.0.0.1:8080/', timeout=3); sys.exit(0 if 200<=r.status<400 else 1)\""]
interval: 20s
timeout: 5s
retries: 8
start_period: 30s
networks:
traefik_default:
traefik_reverse_proxy:
external: true