Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kunniii/selfhost_services

A repo which contains configurations to host services using Docker Compose. This contains selfhosted services using Docker and Docker Compose.
https://github.com/kunniii/selfhost_services

compose docker docker-compose excalidraw self-hosted timetagger traefik

Last synced: 8 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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:

0. Create a docker Network

```bash
docker network create traefik-net
```

1. Copy the `.env.sample` file provided in the repository to create a new `.env` file using the following command:

```bash
cp .env.sample .env
```

2. 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.

3. 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.

4. Start the services

Run the following command to start the application:

```bash
docker compose up -d
```