Changed how all docker images have their version set to use the compose repo

This commit is contained in:
nick committed 2026-10-26 04:38:09 +00:00
1 parent 8020f416dc
commit 0db6fdf16a
15 files changed
+643 -265

No files matched your search

+9 -3
View File
@@ -27,6 +27,9 @@
grist_dir: /opt/grist
grist_hostname: grist.atlashorizon.net
grist_oidc_issuer_host: auth.atlashorizon.net
# Branch of AtlasHorizon/compose to deploy from; override with
# `-e compose_branch=<branch>` to test unmerged changes.
compose_branch: main
block:
- name: Create persist directory
ansible.builtin.file:
@@ -34,11 +37,14 @@
state: directory
mode: "0755"
- name: Deploy docker-compose.yml
ansible.builtin.copy:
src: templates/grist-docker-compose.yml
# 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 }}/grist/docker-compose.yml"
dest: "{{ grist_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 ...`