21 lines
632 B
YAML
21 lines
632 B
YAML
# 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']"
|
|
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 ]
|