From 4688e1c95c646b9c9d6376fee2ee4b052006190f Mon Sep 17 00:00:00 2001 From: Martin Donnelly Date: Fri, 28 Jan 2022 11:23:45 +0000 Subject: [PATCH] init --- docker-compose.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..f9e518e --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,25 @@ +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" +