diff --git a/.env.sample b/.env.sample index 20778ed..fd3f9ba 100644 --- a/.env.sample +++ b/.env.sample @@ -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" diff --git a/abra.sh b/abra.sh index b0507d4..a53694e 100644 --- a/abra.sh +++ b/abra.sh @@ -1,2 +1,2 @@ -export TRAEFIK_YML_VERSION=v7 +export TRAEFIK_YML_VERSION=v8 export FILE_PROVIDER_YML_VERSION=v2 diff --git a/compose.mssql.yml b/compose.mssql.yml new file mode 100644 index 0000000..b45fc5d --- /dev/null +++ b/compose.mssql.yml @@ -0,0 +1,5 @@ +version: "3.8" +services: + app: + ports: + - "1433:1433" diff --git a/traefik.yml.tmpl b/traefik.yml.tmpl index fced2b3..5c25a9c 100644 --- a/traefik.yml.tmpl +++ b/traefik.yml.tmpl @@ -44,6 +44,10 @@ entrypoints: ssb-muxrpc: address: ":8008" {{ end }} + {{ if eq (env "MSSQL_ENABLED") "1" }} + mssql: + address: ":1433" + {{ end }} ping: entryPoint: web