37 lines
673 B
YAML
37 lines
673 B
YAML
services:
|
|
netbird-server:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile.netbird-server
|
|
image: birdy/netbird-server:local
|
|
container_name: netbird-server
|
|
volumes:
|
|
- netbird_data:/var/lib/netbird
|
|
expose:
|
|
- "80"
|
|
- "3478/udp"
|
|
restart: unless-stopped
|
|
networks:
|
|
- proxy
|
|
|
|
dashboard:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile.dashboard
|
|
image: birdy/netbird-dashboard:local
|
|
container_name: netbird-dashboard
|
|
expose:
|
|
- "80"
|
|
depends_on:
|
|
- netbird-server
|
|
restart: unless-stopped
|
|
networks:
|
|
- proxy
|
|
|
|
volumes:
|
|
netbird_data:
|
|
|
|
networks:
|
|
proxy:
|
|
external: true
|
|
|