Files
ml 82d944a0a8 Add fuelish API; protect the host against memory exhaustion
- fuelish role: receipt OCR API at fuelish.ladkau.de, API-key auth, shared
  Ollama model and request options
- base: 4 GB swap file; act_runner: job containers capped at 4 GB without swap
- docs and vault/service checks updated
2026-10-04 13:54:09 +02:00

36 lines
890 B
YAML

---
- name: Create fuelish directory
ansible.builtin.file:
path: "{{ fuelish_data_dir }}"
state: directory
owner: root
group: root
mode: "0755"
tags: fuelish
# The tools image is pushed to the private registry with upload-image.sh
- name: Log in to the container registry
community.docker.docker_login:
registry_url: "{{ domain_registry }}"
username: "{{ fuelish_registry_user }}"
password: "{{ fuelish_registry_password }}"
no_log: true
tags: fuelish
- name: Deploy Docker Compose file
ansible.builtin.template:
src: docker-compose.yml.j2
dest: "{{ fuelish_data_dir }}/docker-compose.yml"
owner: root
group: root
mode: "0600"
notify: Restart fuelish
tags: fuelish
- name: Start fuelish
community.docker.docker_compose_v2:
project_src: "{{ fuelish_data_dir }}"
state: present
pull: always
tags: fuelish