Skip to content

Commit 7ab28ce

Browse files
committed
Add signal support for custom TLS certificates in Docker Compose configuration
Signed-off-by: bcmmbaga <[email protected]>
1 parent 8e6ff52 commit 7ab28ce

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

infrastructure_files/docker-compose.yml.tmpl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,17 @@ services:
4242
image: netbirdio/signal:$NETBIRD_SIGNAL_TAG
4343
volumes:
4444
- $SIGNAL_VOLUMENAME:/var/lib/netbird
45+
- $LETSENCRYPT_VOLUMENAME:/etc/letsencrypt:ro
4546
ports:
4647
- $NETBIRD_SIGNAL_PORT:80
4748
# # port and command for Let's Encrypt validation
4849
# - 443:443
4950
# command: ["--letsencrypt-domain", "$NETBIRD_LETSENCRYPT_DOMAIN", "--log-file", "console"]
51+
command: [
52+
"--cert-file", "$NETBIRD_MGMT_API_CERT_FILE",
53+
"--cert-key", "$NETBIRD_MGMT_API_CERT_KEY_FILE",
54+
"--log-file", "console"
55+
]
5056

5157
# Relay
5258
relay:

0 commit comments

Comments
 (0)