23 lines
883 B
YAML
23 lines
883 B
YAML
# Run Blacktip with Docker on a public server:
|
|
# cp .env.example .env (then set BLACKTIP_HAMMERHEAD and BLACKTIP_TOKEN)
|
|
# docker compose up -d
|
|
#
|
|
# Host networking is needed so Blacktip can open ports on the machine's own IP
|
|
# addresses (including the same port on different IPs). Open the WireGuard UDP port
|
|
# (51820 by default) and every port you create in the dashboard in the firewall.
|
|
services:
|
|
blacktip:
|
|
image: git.veillax.com/veillax/blacktip:latest
|
|
restart: unless-stopped
|
|
network_mode: host
|
|
env_file: .env
|
|
volumes:
|
|
- blacktip-data:/data
|
|
# To list this machine's Docker containers as targets (BLACKTIP_DOCKER=1):
|
|
# - /var/run/docker.sock:/var/run/docker.sock:ro
|
|
# To serve websites with Traefik (BLACKTIP_TRAEFIK=/traefik): mount a Traefik v3 binary
|
|
# - /usr/local/bin/traefik:/traefik:ro
|
|
|
|
volumes:
|
|
blacktip-data:
|