Releases: ironicbadger/ansible-role-docker-compose-generator
Releases · ironicbadger/ansible-role-docker-compose-generator
Adds support for other gpu drivers
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.
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
What's Changed
- Add if for health check start period by @jasonlearst in #25
New Contributors
- @jasonlearst made their first contribution in #25
Full Changelog: 1.0.7...1.0.8
1.0.7
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
What's Changed
- fix(template): comment for multiline ansible_managed by @pastalino in #16
- Adding user option to template by @itsamenathan in #15
- Support stop_grace_period by @mrwacky42 in #24
- Add expose section to docker compose template by @lmilius in #17
- Add support for healthcheck by @coredotbin in #20
New Contributors
- @pastalino made their first contribution in #16
- @itsamenathan made their first contribution in #15
- @mrwacky42 made their first contribution in #24
- @lmilius made their first contribution in #17
Full Changelog: 1.0.5...1.0.6
adds a neater command solution
What's Changed
- Change description for Ansible Galaxy by @SolidRhino in #7
- Add support for logging by @coredotbin in #6
- Accept either string or array as
command
option by @coredotbin in #14
New Contributors
- @SolidRhino made their first contribution in #7
- @coredotbin made their first contribution in #6
Full Changelog: 1.0.4...1.0.5
Adds support for external env_file definitions
{% 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
e.g.
ulimits:
memlock:
soft: -1
hard: -1
Adds ulimit support
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
1.0.1 Merge branch 'master' of github.com:ironicbadger/ansible-role-docker-…