This is my own Docker for self-hosted services since 200 BC. Now I an gonna public it on my GitHub.
It will save time for me, if next time, i have to set up my new OS and need to run these services.
Everyone can clone and use it! Here is how to setup this Docker Compose repo.
Follow these steps to set up the project:
-
Create a docker Network
docker network create traefik-net
-
Copy the
.env.samplefile provided in the repository to create a new.envfile using the following command:cp .env.sample .env
-
Edit the
.envfile with your own information. This file contains environment variables used by the application. Make sure to fill in all the required information. -
Edit the
hostsfile on your computer. Thehostsfile is a plain text file used by the operating system to map hostnames to IP addresses. This file is used to redirect requests for a particular domain name to a specific IP address.-
On Windows
Thehostsfile is located atC:\Windows\System32\drivers\etc\hosts -
On macOS and Linux
Thehostsfile is located at/etc/hosts. To edit this file, you need to open it in a text editor with sudo privileges.
Once you have located the
hostsfile, add the content from thehostsfile provided in this repo. -
-
Start the services
Run the following command to start the application:
docker compose up -d