You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
capntack 4531510afd Added RustDesk, changed Watchtower implementation 8 months ago
..
archived Added RustDesk, changed Watchtower implementation 8 months ago
checkmk Creation of repo 1 year ago
forgejo Added Forgejo, Gitea's replacement in my stack 1 year ago
ghost-stack Excluded database containers from watchtower 1 year ago
it-tools Creation of repo 1 year ago
linkding-stack Excluded database containers from watchtower 1 year ago
littlelink-server Fixed case of letter 1 year ago
lychee-stack Excluded database containers from watchtower 1 year ago
nginx-proxy-manager Creation of repo 1 year ago
ntfy Added ntfy 1 year ago
openspeedtest Creation of repo 1 year ago
organizr Creation of repo 1 year ago
pi-hole Creation of repo 1 year ago
portainer-agent Creation of repo 1 year ago
portainer-ce Creation of repo 1 year ago
rustdesk Added RustDesk, changed Watchtower implementation 8 months ago
uptime-kuma Creation of repo 1 year ago
watchtower Added RustDesk, changed Watchtower implementation 8 months ago
wikijs-stack Excluded database containers from watchtower 1 year ago
README.md Creation of repo 1 year ago

README.md

README

Style Guide

I like consistency and readability/understandability. As such, I've defined myself a Boilerplate Style Guide for when creating new docker compose files. On a case by case basis, I may go against this template if it makes sense.

The official documentation for how the Docker Compose specification works can be found here.

Note that, starting with Docker Compose 1.27.0+, it is no longer necessary to specify the Docker Compose version (i.e. version: "3.1) as this option has been deprecated.

The order of operations for how the cap_add and cap_drop options can be found here or reference the image below:

cap_add and cap_drop matrix

You can name Docker Compose files hower you like as long as it has a .yml or .yaml extension. However, if you name it anything other than docker-compose.yml or docker-compose.yaml, you must pass the filename in the docker compose command. i.e. docker compose <DOCKER_COMPOSE_FILE> up -d

I've left the default host side ports in these boilerplates. Which means several of them would conflict with each other. Please update accordingly to your setup.

I use custom networks for all of my containers that are able to utilize them. Feel free to adjust to your own setup.

# <FILE_NAME>.yml
# Docker Hub: <LINK_TO_IMAGE(S)_HUB_PAGE(S)>
# Documentation: <LINK_TO_DOCUMENTATION_IF_NEEDED>
# <ANY_EXTRA_NOTES>

volumes:

networks:

services:
  <LIST_SERVICES_AS_MAKES_SENSE>:
    <LIST_RUNTIME_ARGUEMENTS_ALPHABETICALLY>