remove lets encrypt to make deployment simpler

This commit is contained in:
Simon Larsen 2023-07-11 11:57:54 +01:00
parent a7e1430898
commit f5a4cc3c1d
No known key found for this signature in database
GPG Key ID: AB45983AA9C81CDE
4 changed files with 2 additions and 21 deletions

View File

@ -46,7 +46,7 @@ Deploy a single-server instance in one line on Debian / Ubuntu with Docker (we o
Please look at config.env and change these values,
```
DOMAIN=oneuptime.yourcompany.com # REQUIRED. This is used for SSL certs with letsencrypt. SSL cert will be auto-provisioned.
DOMAIN=oneuptime.yourcompany.com # REQUIRED. This is used for making sure you can navigate OneUptime from this domain. You will still have to set up CNAME or A records with your DNS provider.
# SMTP SETTINGS for sending email from OneUptime (optional).
SMTP_USERNAME=username
@ -71,25 +71,7 @@ To update:
bash update.sh
```
OneUptime should run at: https://localhost. You need to register a new account for your instance to start using it.
Provisioning your SSL Certificate from LetsEncrypt:
A self-signed certificate is generated by default. If you need a LetsEncrypt SSL certs then run:
```
bash certs-issue.sh
```
Please make sure you have an A record set up to this server. These certs expires every 45 days, you need to renew them at regular interval.
To renew certificate:
```
bash certs-renew.sh
```
Please make sure you add the above bash command into a crontab that runs every 15 days.
OneUptime should run at: http://localhost. You need to register a new account for your instance to start using it.
## Philosophy

View File

@ -715,7 +715,6 @@ services:
{{ end }}
ports:
- '80:80'
- '443:443'
volumes:
- ./Nginx/default.conf:/etc/nginx/conf.d/default.conf
- ./Certs:/etc/nginx/certs