Create docker-compose.yml

pull/6/head
Bengt 2021-04-06 13:17:07 +02:00 committed by GitHub
parent 830d43fabf
commit e9c9f5fe78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 20 additions and 0 deletions

20
docker-compose.yml Normal file
View File

@ -0,0 +1,20 @@
---
version: "2.1"
services:
wireguard:
image: aptupdate/wireguard-dashboard
container_name: wireguard-dashboard
network_mode: "host"
cap_add:
- NET_ADMIN
- SYS_MODULE
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Oslo
volumes:
- /etc/wireguard:/etc/wireguard
- /lib/modules:/lib/modules
ports:
- 10086:10086/tcp
restart: unless-stopped