mirror of
https://codeberg.org/gigirassy/nixos-server-config
synced 2026-08-30 23:37:41 +00:00
Add compose-configs/wikimore/compose.yml
This commit is contained in:
@@ -0,0 +1,42 @@
|
|||||||
|
services:
|
||||||
|
anubis:
|
||||||
|
image: ghcr.io/techarohq/anubis:v1.22.0
|
||||||
|
environment:
|
||||||
|
BIND: ":8080"
|
||||||
|
DIFFICULTY: "2"
|
||||||
|
METRICS_BIND: ":9090"
|
||||||
|
SERVE_ROBOTS_TXT: "true"
|
||||||
|
TARGET: "http://wikimore:8109"
|
||||||
|
POLICY_FNAME: "/data/cfg/botPolicy.yaml"
|
||||||
|
OG_PASSTHROUGH: "true"
|
||||||
|
OG_EXPIRY_TIME: "5m"
|
||||||
|
volumes:
|
||||||
|
- "/home/nune/anubis-rules/botPolicy.yaml:/data/cfg/botPolicy.yaml:ro"
|
||||||
|
- "/home/nune/anubis-rules/amazonips.yaml:/amazonips.yaml"
|
||||||
|
- "/home/nune/anubis-rules/oracleips.yaml:/oracleips.yaml"
|
||||||
|
ports:
|
||||||
|
- "127.0.0.1:8109:8080"
|
||||||
|
networks:
|
||||||
|
- wikimore
|
||||||
|
wikimore-app:
|
||||||
|
container_name: wikimore
|
||||||
|
restart: unless-stopped
|
||||||
|
image: wikimorefixed2 #wikimore with user agent patch
|
||||||
|
expose:
|
||||||
|
- "8109"
|
||||||
|
security_opt:
|
||||||
|
- no-new-privileges:true
|
||||||
|
cap_drop:
|
||||||
|
- ALL
|
||||||
|
read_only: true
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpus: '0.5'
|
||||||
|
memory: 50M
|
||||||
|
networks:
|
||||||
|
- wikimore
|
||||||
|
|
||||||
|
networks:
|
||||||
|
wikimore:
|
||||||
|
driver: bridge
|
||||||
Reference in New Issue
Block a user