Changed how all docker images have their version set to use the compose repo
This commit is contained in:
1 parent
8020f416dc
commit
0db6fdf16a
15 files changed
+643
-265
No files matched your search
@@ -24,21 +24,28 @@
|
||||
|
||||
- name: Deploy Domain Watchdog
|
||||
vars:
|
||||
# Keep this path: compose prefixes named volumes (database_data etc.)
|
||||
# with the directory name, so moving it orphans the existing data.
|
||||
domain_watchdog_dir: /opt/domain-watchdog
|
||||
# Branch of AtlasHorizon/compose to deploy from; override with
|
||||
# `-e compose_branch=<branch>` to test unmerged changes.
|
||||
compose_branch: main
|
||||
block:
|
||||
- name: Clone domain-watchdog repo
|
||||
ansible.builtin.git:
|
||||
repo: https://github.com/maelgangloff/domain-watchdog.git
|
||||
dest: "{{ domain_watchdog_dir }}"
|
||||
version: master
|
||||
update: yes
|
||||
|
||||
- name: Create public/content directory
|
||||
ansible.builtin.file:
|
||||
path: "{{ domain_watchdog_dir }}/public/content"
|
||||
state: directory
|
||||
mode: "0755"
|
||||
|
||||
# force: true so changes in the compose repo are picked up on reruns;
|
||||
# it only reports changed when the content differs.
|
||||
- name: Download docker-compose.yml
|
||||
ansible.builtin.get_url:
|
||||
url: "https://git.atlashorizon.net/AtlasHorizon/compose/raw/branch/{{ compose_branch }}/domain-watchdog/docker-compose.yml"
|
||||
dest: "{{ domain_watchdog_dir }}/docker-compose.yml"
|
||||
mode: "0644"
|
||||
force: true
|
||||
|
||||
# Pulled from Infisical, not generated/persisted to disk. Run this
|
||||
# playbook as `infisical run -- ansible-playbook -i inventory ...`
|
||||
# with DOMAIN_WATCHDOG_POSTGRES_PASSWORD, DOMAIN_WATCHDOG_APP_SECRET,
|
||||
|
||||
Reference in new issue
Block a user