first commit
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
version: "3"
|
||||
services:
|
||||
webapp:
|
||||
image: searxng/searxng
|
||||
restart: always
|
||||
read_only: true
|
||||
tmpfs:
|
||||
- /tmp
|
||||
- /var
|
||||
- /run
|
||||
hostname: searxng.lan.ddnsgeek.com
|
||||
networks:
|
||||
- traefik_default
|
||||
deploy:
|
||||
# resources:
|
||||
# limits:
|
||||
# cpus: '0.05'
|
||||
# memory: 100m
|
||||
restart_policy:
|
||||
condition: on-failure
|
||||
max_attempts: 5
|
||||
labels:
|
||||
- "traefik.http.routers.searxng.rule=Host(`searxng.lan.ddnsgeek.com`)"
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.searxng.entrypoints=websecure"
|
||||
- "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"
|
||||
|
||||
networks:
|
||||
traefik_default:
|
||||
external: true
|
||||
Reference in New Issue
Block a user