Skip to content

Instantly share code, notes, and snippets.

View MerNat's full-sized avatar
🐢
I may be slow to respond.

Meron MerNat

🐢
I may be slow to respond.
View GitHub Profile
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active July 16, 2024 13:09
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

RethinkBD cluster with Traefik & Docker Swarm

The main key is to create two network interfaces, one will be used with traefik and the other one will be used for the containers to communicate with each other

In the yml file I called them application and traefik, then you need to tell Traefik via the labels to use one of them.

When you deploy a stack you will have a name for it, which is also used as a prefix for the netwroks .. etc, to make it simple we will use the environment variables, so that we can have a flixable yml file.