Skip to content

A repo which contains configurations to host services using Docker Compose. This contains selfhosted services using Docker and Docker Compose.

Notifications You must be signed in to change notification settings

Kunniii/selfhost_services

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Self hosted services using Docker and Docker Compose

What is this

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.

How to use

Follow these steps to set up the project:

  1. Create a docker Network

    docker network create traefik-net
  2. Copy the .env.sample file provided in the repository to create a new .env file using the following command:

    cp .env.sample .env
  3. 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.

  4. Edit the hosts file on your computer. The hosts 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
      The hosts file is located at C:\Windows\System32\drivers\etc\hosts

    • On macOS and Linux
      The hosts 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 the hosts file provided in this repo.

  5. Start the services

    Run the following command to start the application:

    docker compose up -d

About

A repo which contains configurations to host services using Docker Compose. This contains selfhosted services using Docker and Docker Compose.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published