ansible/playbooks/tasks/web/ara.yml

21 lines
632 B
YAML
Raw Normal View History

2022-04-23 10:54:26 -05:00
# vim:ft=ansible:
- name: docker deploy ara
docker_container:
name: ara
image: recordsansible/ara-api:centos8-stream-pypi-latest
env:
ARA_ALLOWED_HOSTS: "['ara.desu.ltd']"
2022-04-23 10:54:26 -05:00
ARA_DATABASE_ENGINE: django.db.backends.postgresql
ARA_DATABASE_NAME: ara-desultd
ARA_DATABASE_USER: ara-desultd
ARA_DATABASE_PASSWORD: "{{ secret_ara_db_pass }}"
ARA_DATABASE_HOST: 192.168.164.156
networks:
- name: web
aliases: [ "ara" ]
volumes:
- /data/ara/server:/opt/ara:z
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
tags: [ docker, ara ]