subspace/docker-compose.yml

26 lines
659 B
YAML
Raw Permalink Normal View History

2022-01-28 11:23:45 +00:00
version: "3.3"
services:
subspace:
image: subspacecommunity/subspace:latest
container_name: subspace
volumes:
- /data:/data
restart: always
environment:
- SUBSPACE_HTTP_HOST=wireguard.xira.co.uk
- SUBSPACE_LETSENCRYPT=false
- SUBSPACE_HTTP_INSECURE=false
- SUBSPACE_HTTP_ADDR=":80"
- SUBSPACE_NAMESERVER=192.168.1.253
- SUBSPACE_LISTENPORT=51820
- SUBSPACE_IPV4_POOL=10.99.97.0/24
- SUBSPACE_IPV6_POOL=fd00::10:97:0/64
- SUBSPACE_IPV4_GW=10.99.97.1
- SUBSPACE_IPV6_GW=fd00::10:97:1
- SUBSPACE_IPV6_NAT_ENABLED=1
- SUBSPACE_DISABLE_DNS=0
cap_add:
- NET_ADMIN
network_mode: "host"