1
0
Fork 0
Install What's up Docker Docker Compose project
Find a file
2025-11-24 15:23:16 +01:00
defaults Configurable registries 2025-05-29 17:48:14 +02:00
meta Init whatsupdocker role 2024-11-03 20:52:44 +01:00
tasks Use docker_compose_cmd 2025-11-24 15:23:16 +01:00
templates Configurable registries 2025-05-29 17:48:14 +02:00
vars Init whatsupdocker role 2024-11-03 20:52:44 +01:00
.ansible-lint Init whatsupdocker role 2024-11-03 20:52:44 +01:00
LICENSE Init whatsupdocker role 2024-11-03 20:52:44 +01:00
README.md Configurable registries 2025-05-29 17:48:14 +02:00

Ansible Role: What's up Docker?

Install What's up Docker Docker Compose project.

Requirements

Requires the following to be installed:

  • docker
  • docker compose

Role Variables

Common system variables:

timezone: UTC

Common Docker projects variables:

# Base directory for Docker projects
docker_projects_path: # /var/apps

Available role variables are listed below, along with default values (see defaults/main.yml):

# Docker project variables

whatsupdocker_project_name: whatsupdocker

# Docker project dynamic vars (uses `docker_project_name` prefix, adapt if overridden)

# Traefik options
whatsupdocker_traefik_loadbalancer_server_port: 3000
whatsupdocker_traefik_entrypoints: http,https
whatsupdocker_traefik_middlewares:
  - "internal-access@file"


# What's up Docker project variables

# Docker image version
whatsupdocker_version: latest

# Mount Docker socket inside container?
whatsupdocker_mount_docker_socket: true

# What's up Docker watchers
# https://getwud.github.io/wud/#/configuration/watchers/
whatsupdocker_watchers:
  local:
    cron: '0 */2 * * *'
#  example:
#    host: example.lan
#    port: 2375
#    cron: '0 */6 * * *'

# What's up Docker registries
# https://getwud.github.io/wud/#/configuration/registries/
whatsupdocker_registries:
#  ghcr:
#    public:
#      username: Github-username
#      token:    Github-token

# What's up Docker log level
whatsupdocker_log_level: info

Dependencies

This role depends on :

Some variables allow integration with:

Example Playbook

- hosts: all
  gather_facts: true
  gather_subset:
    - "!all"
    - "!min"
    - user_id

  roles:
    - djuuu.whatsupdocker

License

Beerware License