Filippo Valle
3 years ago
No known key found for this signature in database
GPG Key ID: 38DBEB663D6E3B5A
1 changed files with
7 additions and
3 deletions
-
docker-compose.yml
|
|
@ -7,7 +7,7 @@ services: |
|
|
- WG_HOST=raspberrypi.local |
|
|
- WG_HOST=raspberrypi.local |
|
|
|
|
|
|
|
|
# Optional: |
|
|
# Optional: |
|
|
# - USERS_PATH=/app/users.json |
|
|
- USERS_PATH=/app/users.json |
|
|
# - WG_PORT=51820 |
|
|
# - WG_PORT=51820 |
|
|
# - WG_DEFAULT_ADDRESS=10.8.0.x |
|
|
# - WG_DEFAULT_ADDRESS=10.8.0.x |
|
|
# - WG_DEFAULT_DNS=1.1.1.1 |
|
|
# - WG_DEFAULT_DNS=1.1.1.1 |
|
|
@ -22,6 +22,7 @@ services: |
|
|
container_name: wg-easy |
|
|
container_name: wg-easy |
|
|
volumes: |
|
|
volumes: |
|
|
- .:/etc/wireguard |
|
|
- .:/etc/wireguard |
|
|
|
|
|
- ./users.json:/app/users.json |
|
|
ports: |
|
|
ports: |
|
|
- "51820:51820/udp" |
|
|
- "51820:51820/udp" |
|
|
- "51821:51821/tcp" |
|
|
- "51821:51821/tcp" |
|
|
@ -34,7 +35,10 @@ services: |
|
|
- net.ipv4.conf.all.src_valid_mark=1 |
|
|
- net.ipv4.conf.all.src_valid_mark=1 |
|
|
depends_on: |
|
|
depends_on: |
|
|
- redis |
|
|
- redis |
|
|
|
|
|
|
|
|
redis: |
|
|
redis: |
|
|
image: redis |
|
|
image: redis |
|
|
ports: |
|
|
expose: |
|
|
- "6379:6379" |
|
|
- 6379 |
|
|
|
|
|
# ports: |
|
|
|
|
|
# - "6379:6379" |
|
|
|