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:
|
2022-04-23 11:16:12 -05:00
|
|
|
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 }}"
|
2022-07-21 21:05:27 -05:00
|
|
|
ARA_DATABASE_HOST: 10.0.0.2
|
2022-04-23 10:54:26 -05:00
|
|
|
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 ]
|