aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/linuxserver/docker-compose.yml
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-03-12 21:24:22 +0100
committerEgor Tensin <Egor.Tensin@gmail.com>2023-03-12 21:35:58 +0100
commit3ba44927180453caa1d225d8a2275be382b7cbfb (patch)
tree67298069bd8f921aeb9516e6c254b5c3b0e1f014 /test/linuxserver/docker-compose.yml
parentREADME: update (diff)
downloadwg-api-web-3ba44927180453caa1d225d8a2275be382b7cbfb.tar.gz
wg-api-web-3ba44927180453caa1d225d8a2275be382b7cbfb.zip
test/linuxserver: add a test configuration
Diffstat (limited to '')
-rw-r--r--test/linuxserver/docker-compose.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/linuxserver/docker-compose.yml b/test/linuxserver/docker-compose.yml
index a2db94d..9713116 100644
--- a/test/linuxserver/docker-compose.yml
+++ b/test/linuxserver/docker-compose.yml
@@ -21,19 +21,19 @@ services:
image: lscr.io/linuxserver/wireguard:latest
restart: unless-stopped
environment:
- - SERVERURL=wireguard.domain.com
+ - SERVERURL=127.0.0.1
- SERVERPORT=51820
- PEERS=3
- INTERNAL_SUBNET=10.13.13.0
+ - PEERDNS=off
- LOG_CONFS=true
networks:
- wg_web_api_network
ports:
- 51820:51820/udp
- '192.168.177.1:1234:1234'
- # Uncomment to save configuration to the config/ directory:
- #volumes:
- # - ./config:/config
+ volumes:
+ - ./example_config:/config
cap_add:
- NET_ADMIN
- SYS_MODULE