Skip to content

Releases: ironicbadger/ansible-role-docker-compose-generator

Adds support for other gpu drivers

09 Sep 18:33
Compare
Choose a tag to compare

Now you can use other hardware drivers such as cdi.

  - service_name: ollama
    active: true
    image: ollama/ollama
    ports:
      - 11434:11434
    volumes:
      - "{{ appdata_path }}/apps/ollama:/root/.ollama"
    deploy:
      resources:
        reservations:
          devices:
            - driver: cdi
              device_ids:
                - nvidia.com/gpu=all
    restart: unless-stopped

BREAKING CHANGE - Removes version from template.

14 Jun 20:19
447db55
Compare
Choose a tag to compare

Resolves level=warning msg="***/docker-compose.yaml: version is obsolete" by removing compose version specification in template.

You will need to use docker compose v2 (not docker-compose v1) moving forward. This is likely a breaking change if you do not upgrade your compose.

1.0.8

28 May 01:03
af55a6f
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.0.7...1.0.8

1.0.7

21 Apr 15:29
Compare
Choose a tag to compare

Full Changelog: 1.0.6...1.0.7

Notably adds GPU support via a stanza like

### immich ML
  - service_name: immich-machine-learning
    active: true
    image: ghcr.io/immich-app/immich-machine-learning:release-cuda
    ports:
      - 3003:3003
    volumes:
      - "{{ appdata_path }}/apps/immich/cache:/cache"
    deploy:
      resources:
        reservations:
          devices:
            - driver: nvidia
              count: 1
    restart: unless-stopped

1.0.6

16 Mar 03:21
7a6f56a
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.0.5...1.0.6

adds a neater command solution

30 Dec 01:14
80da5dc
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.0.4...1.0.5

Adds support for external env_file definitions

19 May 13:21
Compare
Choose a tag to compare
{% if container.env_file is defined %}
    env_file:
{% for envfile in container.env_file %}
      - {{ envfile }}
{% endfor %}
{% endif %}

for example

  ###
  - service_name: tandoor
    active: true
    image: vabene1111/recipes
    volumes:
      - "{{ appdata_path }}/tandoor/static:/opt/recipes/staticfiles"
      - "{{ appdata_path }}/tandoor/media:/opt/recipes/mediafiles"
    env_file:
      - "{{ appdata_path }}/tandoor/docker/env"
    depends_on:
      - tandoor-db
    restart: unless-stopped

Adds memlock support to ulimits

06 May 18:03
Compare
Choose a tag to compare

e.g.

    ulimits:
      memlock:
        soft: -1
        hard: -1

Adds ulimit support

04 May 14:07
Compare
Choose a tag to compare

As described here, ulimits can now be configured via this role.

{% if container.ulimits is defined %}
    ulimits:
{% if container.ulimits.nproc is defined %}
      nproc: {{ container.ulimits.nproc }}
{% endif %}
{% if container.ulimits.nofile is defined %}
      nofile:
{% for param, value in container.ulimits.nofile.items() %}
        {{ param }}: {{ value }}
{% endfor %}
{% endif %}
{% endif %}

Adds CI to update Galaxy

27 Apr 21:29
Compare
Choose a tag to compare
1.0.1

Merge branch 'master' of github.com:ironicbadger/ansible-role-docker-…