mirror of
https://github.com/netbirdio/netbird.git
synced 2025-02-03 03:49:26 +01:00
071b03e790
* Updated self-hosted scripts and documentation Added more variables to setup.env and Updated the documentation. We are now configuring turn server with template as well. * Updated self-hosted scripts and documentation Added more variables to setup.env and Updated the documentation. We are now configuring turn server with template as well. * Updated self-hosted scripts and documentation Added more variables to setup.env and Updated the documentation. We are now configuring turn server with template as well. * Updated self-hosted scripts and documentation Added more variables to setup.env and Updated the documentation. We are now configuring turn server with template as well.
60 lines
1.8 KiB
Cheetah
60 lines
1.8 KiB
Cheetah
version: "3"
|
|
services:
|
|
#UI dashboard
|
|
dashboard:
|
|
image: wiretrustee/dashboard:main
|
|
restart: unless-stopped
|
|
ports:
|
|
- 80:80
|
|
- 443:443
|
|
environment:
|
|
- AUTH0_DOMAIN=$WIRETRUSTEE_AUTH0_DOMAIN
|
|
- AUTH0_CLIENT_ID=$WIRETRUSTEE_AUTH0_CLIENT_ID
|
|
- AUTH0_AUDIENCE=$WIRETRUSTEE_AUTH0_AUDIENCE
|
|
- WIRETRUSTEE_MGMT_API_ENDPOINT=$WIRETRUSTEE_MGMT_API_ENDPOINT
|
|
- NGINX_SSL_PORT=443
|
|
- LETSENCRYPT_DOMAIN=$WIRETRUSTEE_DOMAIN
|
|
- LETSENCRYPT_EMAIL=$WIRETRUSTEE_LETSENCRYPT_EMAIL
|
|
volumes:
|
|
- wiretrustee-letsencrypt:/etc/letsencrypt/
|
|
# Signal
|
|
signal:
|
|
image: wiretrustee/signal:latest
|
|
restart: unless-stopped
|
|
volumes:
|
|
- wiretrustee-signal:/var/lib/wiretrustee
|
|
ports:
|
|
- 10000:10000
|
|
# # port and command for Let's Encrypt validation
|
|
# - 443:443
|
|
# command: ["--letsencrypt-domain", "$WIRETRUSTEE_DOMAIN", "--log-file", "console"]
|
|
# Management
|
|
management:
|
|
image: wiretrustee/management:latest
|
|
restart: unless-stopped
|
|
depends_on:
|
|
- dashboard
|
|
volumes:
|
|
- wiretrustee-mgmt:/var/lib/wiretrustee
|
|
- wiretrustee-letsencrypt:/etc/letsencrypt:ro
|
|
- ./management.json:/etc/wiretrustee/management.json
|
|
ports:
|
|
- 33073:33073 #gRPC port
|
|
- $WIRETRUSTEE_MGMT_API_PORT:33071 #API port
|
|
# # port and command for Let's Encrypt validation
|
|
# - 443:443
|
|
# command: ["--letsencrypt-domain", "$WIRETRUSTEE_DOMAIN", "--log-file", "console"]
|
|
# Coturn
|
|
coturn:
|
|
image: coturn/coturn
|
|
restart: unless-stopped
|
|
domainname: $WIRETRUSTEE_DOMAIN
|
|
volumes:
|
|
- ./turnserver.conf:/etc/turnserver.conf:ro
|
|
# - ./privkey.pem:/etc/coturn/private/privkey.pem:ro
|
|
# - ./cert.pem:/etc/coturn/certs/cert.pem:ro
|
|
network_mode: host
|
|
volumes:
|
|
wiretrustee-mgmt:
|
|
wiretrustee-signal:
|
|
wiretrustee-letsencrypt: |