mirror of
https://github.com/vx3r/wg-gen-web.git
synced 2025-04-02 16:46:52 +00:00
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:
parent
4a6cc6dea8
commit
f1aeb1544d
@ -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
|
Docker compose snippet, used for demo server
|
||||||
```
|
```
|
||||||
version: '3.6'
|
version: '3.6'
|
||||||
|
services:
|
||||||
wg-gen-web-demo:
|
wg-gen-web-demo:
|
||||||
image: vx3r/wg-gen-web:latest
|
image: vx3r/wg-gen-web:latest
|
||||||
container_name: wg-gen-web-demo
|
container_name: wg-gen-web-demo
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
expose:
|
ports:
|
||||||
- "8080/tcp"
|
- "8080:8080"
|
||||||
environment:
|
environment:
|
||||||
- WG_CONF_DIR=/data
|
- WG_CONF_DIR=/data
|
||||||
- WG_INTERFACE_NAME=wg0.conf
|
- WG_INTERFACE_NAME=wg0.conf
|
||||||
|
Loading…
Reference in New Issue
Block a user