#!/bin/sh if [ -f /run/secrets/oidc_secret ]; then export GTS_OIDC_CLIENT_SECRET=$(cat /run/secrets/oidc_secret) else echo "OIDC secret not found, skipping." fi if [ -f /run/secrets/smtp_password ]; then export GTS_SMTP_PASSWORD=$(cat /run/secrets/smtp_password) else echo "SMTP password secret not found, skipping." fi if [ -f /run/secrets/db_password ]; then export GTS_DB_PASSWORD=$(cat /run/secrets/db_password) else echo "DB password secret not found, skipping." fi /gotosocial/gotosocial --config-path /config.yaml server start