Hey internet world……. Thanks For allowing me to Join, I hope someone here can help me……. I know nothing about docker and Linux operation systems, I have been playing around with trying to make my own self Hosted WireGuard server on a vps.
So I watched a YouTube video which was great, every command was there to copy/paste (That’s about the extent of my knowledge with Linux and docker). So I have everything installed, however the issue I’m having is that on the video I watched the guy was making it on a zima board (similar idea to a raspberry pi) so after running his script he has a internal ip address to log into the web gui…… I have tried asking the question on his video but two week later and still no response……
So this is what the script is……
version: “3”
services:
wireguard:
image: linuxserver/wireguard:latest
container_name: wireguard
cap_add:
- NET_ADMIN
volumes:
- ./config:/config
ports:
- “5000:5000”
- “51820:51820/udp”
wireguard-ui:
image: ngoduykhanh/wireguard-ui:latest
container_name: wireguard-ui
depends_on:
- wireguard
cap_add:
- NET_ADMIN
network_mode: service:wireguard
environment:
- SENDGRID_API_KEY
- EMAIL_FROM_ADDRESS
- EMAIL_FROM_NAME
- SESSION_SECRET
- WGUI_USERNAME=USERNAME
- WGUI_PASSWORD=PASSWORD
- WG_CONF_TEMPLATE
- WGUI_MANAGE_START=true
- WGUI_MANAGE_RESTART=true
logging:
driver: json-file
options:
max-size: 50m
volumes:
- ./db:/app/db
- ./config:/etc/wireguard
Is it possible, or Could somebody change that to point to the ip address of my server rather than the internal address that it tries to go to? Thanks.
Hope this makes sense to others
Also the reason I want to use this is it gives me data usage of the other users ( only Going to be ma and a few friends and family members but the extras on the gui are cool)