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
2023-04-21 00:28:07 +02:00

19 lines
527 B
YAML

# vim: ft=yaml.ansible
---
- name: Deploy Lingva Docker container
community.docker.docker_container:
name: lingva
state: "{{ 'absent' if stop is defined and stop else 'started' }}"
restart: "{{ stop is undefined or not stop }}"
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