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

Pruning and restarting the same network should not prune TLS certs in caddy #104

Closed
vedhavyas opened this issue Apr 2, 2023 · 1 comment

Comments

@vedhavyas
Copy link
Contributor

At the moment, when we prune and start the same testnet in the node, we are also pruning caddy volume which in turns remove all the TLS certs it has configured. Ideally, we do not want to prune the certs and let caddy handle it.

Potential solution:

Use host filesystem directly instead of docker volume so that pruning entire docker state will not prune those certs. Even if the testnet changes, caddy is already provided with appropriate tesnet domain it should not be an issue.

@DaMandal0rian
Copy link
Contributor

Closing this issue as this was resolved in https://github.com/subspace/infra/pull/189/files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants