Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Have nitriding start star-randsrv #95

Open
NullHypothesis opened this issue May 15, 2023 · 0 comments
Open

Have nitriding start star-randsrv #95

NullHypothesis opened this issue May 15, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@NullHypothesis
Copy link
Contributor

We currently use a shell script to start both star-randsrv and nitriding. Nitriding now supports the -appcmd command line switch, which instructs it to run the given executable. We should be able to get rid of start.sh and instead use the following command:

nitriding \
	-acme \
	-fqdn "star-randsrv.bsg.brave.com" \
	-appurl "https://github.com/brave/star-randsrv" \
	-appwebsrv "http://127.0.0.1:8080" \
        -appcmd "star-randsrv --epoch-seconds 604800" \
	-extport 443 \
	-intport 8081 &

With that in place, we no longer need a shell in our Docker image, and we might even be able to use a scratch image — provided that we add root CA certificates to talk to Let's Encrypt's infrastructure.

@NullHypothesis NullHypothesis added the enhancement New feature or request label May 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant