Complete Docker Container redo, making updates possible.

- Through symlinks.

Refactored the set env variables function.
This commit is contained in:
Daan
2024-10-23 16:41:03 +02:00
parent 1cc321ddff
commit c837ab8693
3 changed files with 65 additions and 33 deletions

View File

@@ -1,6 +1,6 @@
services:
wireguard-dashboard:
image: test:latest
image: donaldzou/wgdashboard:latest
restart: unless-stopped
container_name: wgdashboard
environment:
@@ -12,12 +12,11 @@ services:
ports:
- 10086:10086/tcp
- 51820:51820/udp
volumes: # Can be customized to only the /opt/wireguarddashboard/src/db folder with the /opt/wireguarddashboard/src/wg-dashboard.ini file.
- ./app:/opt/wireguarddashboard
- ./conf:/etc/wireguard
volumes:
- conf:/etc/wireguard
- data:/data
cap_add:
- NET_ADMIN
volumes:
app:
conf:
data: