Skip to content

Commit

Permalink
add missing relay to docker-compose.yml.tmpl.traefik
Browse files Browse the repository at this point in the history
  • Loading branch information
si458 authored Jan 8, 2025
1 parent 409003b commit dc0cba7
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions infrastructure_files/docker-compose.yml.tmpl.traefik
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,24 @@ services:
- traefik.http.services.netbird-signal.loadbalancer.server.port=80
- traefik.http.services.netbird-signal.loadbalancer.server.scheme=h2c

# Relay
relay:
image: netbirdio/relay:$NETBIRD_RELAY_TAG
restart: unless-stopped
environment:
- NB_LOG_LEVEL=info
- NB_LISTEN_ADDRESS=:$NETBIRD_RELAY_PORT
- NB_EXPOSED_ADDRESS=$NETBIRD_RELAY_DOMAIN:$NETBIRD_RELAY_PORT
# todo: change to a secure secret
- NB_AUTH_SECRET=$NETBIRD_RELAY_AUTH_SECRET
ports:
- $NETBIRD_RELAY_PORT:$NETBIRD_RELAY_PORT
logging:
driver: "json-file"
options:
max-size: "500m"
max-file: "2"

# Management
management:
image: netbirdio/management:$NETBIRD_MANAGEMENT_TAG
Expand Down

0 comments on commit dc0cba7

Please sign in to comment.