Support mssql host mode connections

This commit is contained in:
decentral1se 2021-06-07 09:42:50 +02:00
parent d968028216
commit 2c745416fc
No known key found for this signature in database
GPG Key ID: 92DAD76BD9567B8A
4 changed files with 14 additions and 1 deletions

View File

@ -32,5 +32,9 @@ LOG_LEVEL=WARN
# COMPOSE_FILE="compose.yml:compose.ssb.yml"
# SSB_MUXRPC_ENABLED=1
## MSSQL
# COMPOSE_FILE="compose.yml:compose.mssql.yml"
# MSSQL_ENABLED=1
## Host-mode networking
#COMPOSE_FILE="compose.yml:compose.host.yml"

View File

@ -1,2 +1,2 @@
export TRAEFIK_YML_VERSION=v7
export TRAEFIK_YML_VERSION=v8
export FILE_PROVIDER_YML_VERSION=v2

5
compose.mssql.yml Normal file
View File

@ -0,0 +1,5 @@
version: "3.8"
services:
app:
ports:
- "1433:1433"

View File

@ -44,6 +44,10 @@ entrypoints:
ssb-muxrpc:
address: ":8008"
{{ end }}
{{ if eq (env "MSSQL_ENABLED") "1" }}
mssql:
address: ":1433"
{{ end }}
ping:
entryPoint: web