mirror of
https://github.com/meienberger/runtipi.git
synced 2024-09-11 20:17:23 +03:00
wg-easy
This commit is contained in:
parent
4fe58cc4f3
commit
e5bd794778
7
.gitignore
vendored
Normal file
7
.gitignore
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
.env
|
||||
nginx/*
|
||||
letsencrypt/*
|
||||
|
||||
# Commit empty directories
|
||||
!nignx/.gitkeep
|
||||
!letsencrypt/.gitkeep
|
0
app-data/wg-easy/.gitkeep
Normal file
0
app-data/wg-easy/.gitkeep
Normal file
23
apps/wg-easy/docker-compose.yml
Normal file
23
apps/wg-easy/docker-compose.yml
Normal file
@ -0,0 +1,23 @@
|
||||
version: '3.7'
|
||||
services:
|
||||
wg-easy:
|
||||
container_name: wg-easy
|
||||
image: 'weejewel/wg-easy'
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ${PWD}/wg-easy:/etc/wireguard
|
||||
environment:
|
||||
WG_HOST: 'wireguard.meienberger.dev'
|
||||
PASSWORD: 'moneyprintergobrrr'
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
- SYS_MODULE
|
||||
sysctls:
|
||||
- net.ipv4.conf.all.src_valid_mark=1
|
||||
- net.ipv4.ip_forward=1
|
||||
ports:
|
||||
- '51820:51820/udp'
|
||||
- '51821:51821/tcp'
|
||||
networks:
|
||||
default:
|
||||
ipv4_address: $APP_WG_EASY_IP
|
@ -2,12 +2,25 @@ version: '3.7'
|
||||
|
||||
services:
|
||||
nginx-proxy:
|
||||
container_name: nginx-proxy
|
||||
image: 'jc21/nginx-proxy-manager:latest'
|
||||
restart: unless-stopped
|
||||
# user: "1000:1000"
|
||||
ports:
|
||||
- '80:80'
|
||||
- '81:81'
|
||||
- '443:443'
|
||||
volumes:
|
||||
- ${PWD}/nginx:/data
|
||||
- ${PWD}/letsencrypt:/etc/letsencrypt
|
||||
- ${PWD}/letsencrypt:/etc/letsencrypt
|
||||
networks:
|
||||
default:
|
||||
ipv4_address: $NGINX_PROXY_IP
|
||||
|
||||
networks:
|
||||
default:
|
||||
name: tipi_main_network
|
||||
ipam:
|
||||
driver: default
|
||||
config:
|
||||
- subnet: "$NETWORK_IP/24"
|
0
scripts/configure.sh
Normal file → Executable file
0
scripts/configure.sh
Normal file → Executable file
4
scripts/start.sh
Normal file → Executable file
4
scripts/start.sh
Normal file → Executable file
@ -3,4 +3,6 @@ if [[ $UID != 0 ]]; then
|
||||
echo "Please re-run this script as"
|
||||
echo " sudo ./scripts/start"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
# run docker-compose
|
Loading…
Reference in New Issue
Block a user