Instructions:
-
Get a free domain name from freenom something like
domain.tld
(You may need to use US address) -
Change NS of cloudflare in your provider, you can now close FreeNom website :).
-
You can also create a new subdomain like
subdomain.domain.tld
in cloudflare. -
I considered that you already have a cloud server and its' IP address.
-
Point A record to your cloud server ip address. (Subdomain or Domain)
- Like this:
A
|IP_ADDRESS
|domain.tld
orsubdomain.domain.tld
|proxied
- Like this:
-
SSH to your cloud server
-
Clone the repository
-
Run
./gencert.sh
- You will get a certificate and a key.
-
Check
.env
file and fill in your changes. -
Run
./docker-compose up -d
to start.-
Run
./docker-compose logs
to see the logs. -
Run
./docker-compose down
to stop.
-