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.sample
file provided in the repository to create a new.env
file using the following command:cp .env.sample .env
-
Edit the
.env
file with your own information. This file contains environment variables used by the application. Make sure to fill in all the required information. -
Edit the
hosts
file on your computer. Thehosts
file 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
Thehosts
file is located atC:\Windows\System32\drivers\etc\hosts
-
On macOS and Linux
Thehosts
file 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
hosts
file, add the content from thehosts
file provided in this repo. -
-
Start the services
Run the following command to start the application:
docker compose up -d