mirror of
https://codeberg.org/gigirassy/nixos-server-config
synced 2026-08-30 15:27:40 +00:00
35 lines
906 B
YAML
35 lines
906 B
YAML
# alt fandom frontend
|
|
services:
|
|
anubis:
|
|
image: ghcr.io/techarohq/anubis:main
|
|
environment:
|
|
BIND: ":8080"
|
|
DIFFICULTY: "3"
|
|
METRICS_BIND: ":9090"
|
|
SERVE_ROBOTS_TXT: "true"
|
|
TARGET: "http://phantom:8080"
|
|
POLICY_FNAME: "/data/cfg/botPolicy.yaml"
|
|
OG_PASSTHROUGH: "true"
|
|
OG_EXPIRY_TIME: "24h"
|
|
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:10417:8080"
|
|
networks:
|
|
- breeze
|
|
phantom:
|
|
build:
|
|
context: .
|
|
dockerfile: ./docker/Dockerfile # dockerfile optimized for ram
|
|
container_name: phantom
|
|
ports:
|
|
- "127.0.0.1:10416:8080"
|
|
restart: unless-stopped
|
|
networks:
|
|
- breeze
|
|
|
|
networks:
|
|
breeze:
|
|
driver: bridge |