mirror of
https://github.com/eduardogsilva/wireguard_webadmin.git
synced 2025-08-04 18:24:31 +02:00
Changed docker-compose to use the images from dockerhub.
This commit is contained in:
parent
cd97a65260
commit
2a3b99abe8
6 changed files with 66 additions and 19 deletions
|
@ -3,8 +3,7 @@ services:
|
|||
wireguard-webadmin:
|
||||
container_name: wireguard-webadmin
|
||||
restart: unless-stopped
|
||||
build:
|
||||
context: .
|
||||
image: eduardosilva/wireguard_webadmin:latest
|
||||
environment:
|
||||
- SERVER_ADDRESS=127.0.0.1
|
||||
- DEBUG_MODE=True
|
||||
|
@ -19,7 +18,6 @@ services:
|
|||
- "51820-51839:51820-51839/udp"
|
||||
# Ports for port forwarding rules. Add your own ports here if you need them.
|
||||
- "8080-8089:8080-8089/tcp"
|
||||
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
- SYS_MODULE
|
||||
|
@ -31,12 +29,10 @@ services:
|
|||
wireguard-webadmin-cron:
|
||||
container_name: wireguard-webadmin-cron
|
||||
restart: unless-stopped
|
||||
build:
|
||||
context: ./cron
|
||||
dockerfile: Dockerfile-cron
|
||||
image: eduardosilva/wireguard_webadmin_cron:latest
|
||||
depends_on:
|
||||
- wireguard-webadmin
|
||||
|
||||
volumes:
|
||||
static_volume:
|
||||
static_volume:
|
||||
wireguard:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue