env
This commit is contained in:
@@ -12,18 +12,15 @@ services:
|
||||
- "3478:3478/udp" # STUN — публично (UDP нельзя проксировать через HTTP)
|
||||
volumes:
|
||||
- netbird_data:/var/lib/netbird # именованный volume (не bind-mount)
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- proxy
|
||||
|
||||
netbird-dashboard:
|
||||
image: netbirdio/dashboard:latest
|
||||
container_name: netbird-dashboard
|
||||
env_file:
|
||||
- ./dashboard.env
|
||||
# env_file не нужен — переменные заданы в Stack Environment Variables
|
||||
expose:
|
||||
- "80" # Web UI → внутрь proxy-сети
|
||||
restart: unless-stopped
|
||||
- "80"
|
||||
networks:
|
||||
- proxy
|
||||
|
||||
@@ -33,4 +30,3 @@ volumes:
|
||||
networks:
|
||||
proxy:
|
||||
external: true
|
||||
|
||||
Reference in New Issue
Block a user