19 lines
527 B
YAML
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
|