24 lines
867 B
YAML
24 lines
867 B
YAML
# Run Bamboo with Docker inside your home or private network:
|
|
# cp .env.example .env (then set BAMBOO_HAMMERHEAD and BAMBOO_TOKEN)
|
|
# docker compose up -d
|
|
#
|
|
# Bamboo only makes outbound connections, so nothing needs opening. Host networking
|
|
# lets it reach services on this machine (127.0.0.1) as well as the rest of your LAN;
|
|
# switch it off if your targets are all on other machines.
|
|
services:
|
|
bamboo:
|
|
image: git.veillax.com/veillax/bamboo:latest
|
|
restart: unless-stopped
|
|
network_mode: host
|
|
env_file: .env
|
|
volumes:
|
|
- bamboo-data:/data
|
|
# To list this machine's Docker containers as targets (BAMBOO_DOCKER=1), share the
|
|
# socket and let the container's user read it (find the group id: getent group docker):
|
|
# - /var/run/docker.sock:/var/run/docker.sock:ro
|
|
# group_add:
|
|
# - "999"
|
|
|
|
volumes:
|
|
bamboo-data:
|