This repository has been archived on 2024-02-10. You can view files and clone it, but cannot push or open issues or pull requests.
cpx-ansible/roles/docker_services/tasks/services/lingva.yml

20 lines
583 B
YAML

# vim: ft=yaml.ansible
---
- name: Deploy Lingva Docker container
community.docker.docker_container:
name: lingva
state: "{{ 'absent' if down is defined and down else 'started' }}"
restart: "{{ restart is defined and restart }}"
recreate: "{{ recreate is defined and recreate }}"
image: thedaviddelta/lingva-translate:{{ services.lingva.version }}
restart_policy: always
env:
site_domain: "{{ services.lingva.domain }}"
networks:
- name: services
aliases:
- lingva
- name: tor
aliases:
- lingva