mirror of
https://github.com/calibrain/shelfmark.git
synced 2026-07-31 06:46:39 -04:00
Add an opt-in WireGuard egress path alongside the existing Tor mode --------- Co-authored-by: CaliBrain <calibrain@l4n.xyz>
26 lines
959 B
YAML
26 lines
959 B
YAML
# Local development - WireGuard variant
|
|
services:
|
|
shelfmark-wireguard-dev:
|
|
extends:
|
|
file: ./compose/docker-compose.wireguard.yml
|
|
service: shelfmark-wireguard
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
target: shelfmark
|
|
environment:
|
|
# Quoted so they are passed as the literal string "true" (entrypoint.sh and
|
|
# the app compare against "true"); a bare YAML boolean can be stringified as
|
|
# "True" by some Compose variants, silently disabling the feature.
|
|
DEBUG: "true"
|
|
USING_WIREGUARD: "true"
|
|
WIREGUARD_CONFIG: /config/wg0.conf
|
|
volumes:
|
|
- ./.local/config:/config
|
|
- ./.local/books:/books
|
|
- ./.local/log:/var/log/shelfmark
|
|
- ./.local/tmp:/tmp/shelfmark
|
|
# Place your wg-quick config at ./.local/config/wg0.conf
|
|
# Required for torrent / usenet - path must match your download client's volume exactly
|
|
# - /path/to/downloads:/path/to/downloads
|