test
This commit is contained in:
parent
0bf9a807c5
commit
fcfeaa627a
5 changed files with 141 additions and 10 deletions
3
templates/sing-box-reality-server/start.sh
Executable file
3
templates/sing-box-reality-server/start.sh
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
export INFISICAL_TOKEN=$(infisical login --method=universal-auth --client-id=$INFISICAL_MACHINE_CLIENT_ID --client-secret=$INFISICAL_MACHINE_CLIENT_SECRET --plain --silent)
|
||||
exec infisical run --token $INFISICAL_TOKEN --projectId $PROJECT_ID --env $INFISICAL_SECRET_ENV --domain $INFISICAL_API_URL --command "envsubst < /etc/sing-box/config.template.json > /etc/sing-box/config.json && sing-box run -c /etc/sing-box/config.json"
|
Loading…
Add table
Add a link
Reference in a new issue