CareyWang / MyUrls

Your Own URL Shortener
MIT License
326 stars 134 forks source link

Easier Installation #34

Closed iamtheted closed 1 year ago

iamtheted commented 1 year ago

Hello there! I hope you're doing great!

I was wondering if you could provide an easier installation, so that everyone could have this link shortner. As of now, it's too complicated to be honest.

Please let me know, Thanks a lot!

iamtheted commented 1 year ago

Also isn't there any way to apply SSL by LetsEncrypt using UVICORN?

CareyWang commented 1 year ago

You can clone repo and rename .env.example to .env. Modify the variables in the .env file according to the actual situation, then run docker-compose up -d. The service will start normally and listen on the port you have configured.

Installation and usage of Docker and docker-compose, please refer to the official documentation.

SSL is not supported in this project, you can use a reverse proxy like nginx or caddy to solve it, or use Cloudflare CDN.