Skip to content

estudio-hawara/kuma-for-docker

Repository files navigation

Kuma for Docker

Install

To start using this container, start by cloning the repository:

git clone https://github.com/estudio-hawara/kuma-for-docker.git
cd kuma-for-docker

Configure

Once you have cloned the repository, create a new .env file and set your safe passwords there.

cp env.example .env

Docker Container

To start the container with minimum settings, just run:

docker compose up -d

Which is equivalent to loading the default docker-compose.yml:

docker compose -f docker-compose.yml up -d

To start the container with the 3306 port binded to the host, use the docker-compose.port.yml file:

docker compose -f docker-compose.yml -f docker-compose.port.yml up -d

To start the container with Traefik support, use the docker-compose.traefik.yml file:

docker compose -f docker-compose.yml -f docker-compose.traefik.yml up -d

Traefik support works very well with its corresponding sibling project: traefik-for-docker.

The dc Helper

To standardize calling Docker from the project root, the dc filename has been added to this project's .gitignore.

You are encouraged to create it either if you will be only using the standard file:

#!/bin/bash
docker compose -f docker-compose.yml "$@"

... or if you will also be using the open port file:

#!/bin/bash
docker compose -f docker-compose.yml -f docker-compose.port.yml "$@"

... or for usage with Traefik:

#!/bin/bash
docker compose -f docker-compose.yml -f docker-compose.traefik.yml "$@"

Thanks to this, and after giving executing permissions to the new file, you will be able to use this short hand:

# chmod +x dc
./dc up -d

About

An easy way to instance Kuma with Docker and Traefik

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published