mirror of
https://codeberg.org/gigirassy/nixos-server-config
synced 2026-08-30 23:37:41 +00:00
Add compose-configs/phantom/compose.yml
This commit is contained in:
@@ -0,0 +1,35 @@
|
|||||||
|
# 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
|
||||||
Reference in New Issue
Block a user