Welcome to my Docker-Compose repository! This repository contains a collection of Docker Compose files that I use to manage my personal infrastructure. You can use these files to set up and manage your own Docker containers with ease.
Feel free to use them as starting points for Docker projects, or to quickly setup an app, like one I've used before. Don't feel like you need to credit me in any way to use them, but if you make a public article about them, I'd appreciate you linking them back to the original repo.
The repository is organized as follows:
docker-compose
├── service1
│ └── docker-compose.yml
│ └── .env.example
├── service2
│ └── docker-compose.yml
└── ...
Each directory contains a docker-compose.yml
file for a specific service.
Some services may also contain a .env.example
file, you can clone this using cp .env.example .env
and filling out the details as necessary.
To use these Docker Compose files on your own infrastructure, follow these steps:
-
Clone the repository to your desired location:
git clone https://github.com/jsJack/docker-compose.git /opt/docker-compose
-
Navigate to the directory of the service you want to run:
cd /opt/docker-compose/service1
-
Fill out the environment variable file:
cp .env.example .env nano .env
-
Start the service using Docker Compose:
docker-compose up -d
-
Voilà! 🐳
If you have any improvements or additional services you'd like to add, feel free to open a pull request or create an issue.
This repository is licensed under the MIT License. See the LICENSE file for more details.
Happy Dockerizing!