mirror of
https://github.com/RedWizardsLab/EchoHub.git
synced 2026-09-04 16:46:08 +02:00
11 lines
341 B
Bash
11 lines
341 B
Bash
#!/bin/sh
|
|
|
|
# Persist appsettings.json in the data volume so auto-generated keys
|
|
# (JWT secret, encryption key) survive container recreation.
|
|
if [ ! -f /app/data/appsettings.json ]; then
|
|
cp /app/appsettings.example.json /app/data/appsettings.json
|
|
fi
|
|
ln -sf /app/data/appsettings.json /app/appsettings.json
|
|
|
|
exec dotnet EchoHub.Server.dll
|