diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-03-12 22:21:29 +0100 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-03-12 22:21:29 +0100 |
commit | 5bb6ca3371771301a013d4bfa83fd5ee931fd1b2 (patch) | |
tree | 75df2009d5ae719379f257d179ed680f7985a80c /test/linuxserver/docker-compose.override.yml | |
parent | test/linuxserver: don't do catch-all AllowedIPs (diff) | |
download | wg-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.yml | 10 |
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 |