docker-compose update

I edited the sample docker-compose snippet with the changes I had to make for this image to work on my Ubuntu 20.04 LTS VM.
This commit is contained in:
Isaac Strong 2020-06-12 22:06:17 -07:00 committed by GitHub
parent 4a6cc6dea8
commit f1aeb1544d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -49,12 +49,13 @@ docker run --rm -it -v /tmp/wireguard:/data -p 8080:8080 -e "WG_CONF_DIR=/data"
Docker compose snippet, used for demo server
```
version: '3.6'
services:
wg-gen-web-demo:
image: vx3r/wg-gen-web:latest
container_name: wg-gen-web-demo
restart: unless-stopped
expose:
- "8080/tcp"
ports:
- "8080:8080"
environment:
- WG_CONF_DIR=/data
- WG_INTERFACE_NAME=wg0.conf