添加 Anubis #1
@ -1,9 +1,34 @@
|
|||||||
services:
|
services:
|
||||||
mttu-doc-web:
|
mttu-doc-web-inner:
|
||||||
image: gitea.service.jazzwhom.top/mttu-developers/docs:latest
|
image: gitea.service.jazzwhom.top/mttu-developers/docs:latest
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
|
- mttu-web-inner
|
||||||
|
mttu-doc-web:
|
||||||
|
restart: unless-stopped
|
||||||
|
image: ghcr.io/techarohq/anubis:latest
|
||||||
|
environment:
|
||||||
|
- BIND=:80
|
||||||
|
- TARGET=http://mttu-doc-web-inner:80
|
||||||
|
- _RESTART_DUMMY=6
|
||||||
|
- REDIRECT_DOMAINS=*.jazzwhom.top,jazzwhom.top,*.passthem.top,passthem.top
|
||||||
|
- POLICY_FNAME=/data/cfg/botPolicy.yaml
|
||||||
|
healthcheck:
|
||||||
|
test:
|
||||||
|
- CMD
|
||||||
|
- anubis
|
||||||
|
- --healthcheck
|
||||||
|
interval: 5s
|
||||||
|
timeout: 30s
|
||||||
|
retries: 5
|
||||||
|
start_period: 500ms
|
||||||
|
depends_on:
|
||||||
|
- server
|
||||||
|
networks:
|
||||||
|
- mttu-web-inner
|
||||||
- caddy-internal
|
- caddy-internal
|
||||||
|
volumes:
|
||||||
|
- /opt/anubis/botPolicies.yaml:/data/cfg/botPolicy.yaml:ro
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
caddy-internal:
|
caddy-internal:
|
||||||
|
|||||||
Reference in New Issue
Block a user