Sharpnet is a service that controls NGINX allowing for painless and automatic control of your websites and webapps with automatic SSL certification.
It is completely modular, allowing you to effectively have "plug and play" setup of websites and web apps!
Sharpnet is configured to be installed using a docker-compose file: Click Here to see an example
Note that all of these are required
Key | Type | Description |
---|---|---|
HTTP_PORT |
int | Port for http connections. |
HTTPS_PORT |
int | Port for https connections. |
DEV |
bool [TRUE?FALSE] | For debugging. |
DEBUG_LOGGING |
bool [TRUE?FALSE] | For debugging. |
NETWORK |
str | The docker network that sharpnet will listen to for new connections. |
MAILPASS |
str | The google one-time password for mail services |
SENDER_EMAIL |
str | Must be a gmail email |
RECEIVER_EMAIL |
str | The email you want on the certificates and to receive emails to |
DOMAIN |
str | The domain all certificates will be linked to |
-
Make sure SharpCD has been installed.
-
Ensure the enviromental variables have been set in an enviromental variable (.env) file
-
Run the following command to install the registry:
sharpcd --remotefile https://raw.githubusercontent.com/Sharpz7/sharpnet/master/.sharpcd/sharpcd.yml