aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/linuxserver/docker-compose.override.yml
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-03-12 22:21:29 +0100
committerEgor Tensin <Egor.Tensin@gmail.com>2023-03-12 22:21:29 +0100
commit5bb6ca3371771301a013d4bfa83fd5ee931fd1b2 (patch)
tree75df2009d5ae719379f257d179ed680f7985a80c /test/linuxserver/docker-compose.override.yml
parenttest/linuxserver: don't do catch-all AllowedIPs (diff)
downloadwg-api-web-5bb6ca3371771301a013d4bfa83fd5ee931fd1b2.tar.gz
wg-api-web-5bb6ca3371771301a013d4bfa83fd5ee931fd1b2.zip
test/linuxserver: add a peer service
Diffstat (limited to 'test/linuxserver/docker-compose.override.yml')
-rw-r--r--test/linuxserver/docker-compose.override.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/linuxserver/docker-compose.override.yml b/test/linuxserver/docker-compose.override.yml
index c20f3ad..2eef2c7 100644
--- a/test/linuxserver/docker-compose.override.yml
+++ b/test/linuxserver/docker-compose.override.yml
@@ -1,4 +1,14 @@
# This file is here for the same reason as the root docker-compose.override.yml.
+# In addition, it defines a peer service.
services:
web:
build: ../..
+ peer1:
+ build:
+ context: .
+ dockerfile: Dockerfile.peer1
+ restart: unless-stopped
+ network_mode: host
+ cap_add:
+ - NET_ADMIN
+ - SYS_MODULE