operational deployment
This commit is contained in:
@@ -24,6 +24,27 @@
|
||||
path: "{{ stoat_install_dir }}/generate_config.sh"
|
||||
mode: "0755"
|
||||
|
||||
# Upstream compose.yml still references docker.io/minio/minio and
|
||||
# docker.io/minio/mc, which no longer exist on Docker Hub (the pulls are
|
||||
# denied, so `podman-compose up` hangs and api/events/etc. never start).
|
||||
# MinIO's official images live on quay.io - rewrite the refs.
|
||||
- name: Point MinIO images at quay.io (docker.io/minio/* is gone)
|
||||
ansible.builtin.replace:
|
||||
path: "{{ stoat_install_dir }}/compose.yml"
|
||||
regexp: 'docker\.io/minio/(minio|mc)'
|
||||
replace: 'quay.io/minio/\1'
|
||||
|
||||
# autumn depends on createbuckets, a one-shot that exits 0 after creating
|
||||
# the MinIO buckets. podman-compose treats `condition: service_started` as
|
||||
# "container is running", so it waits forever on the exited one-shot and
|
||||
# `podman-compose up` never completes (autumn/pushd stay Created). Use the
|
||||
# service_completed_successfully condition instead.
|
||||
- name: Fix autumn dependency on the createbuckets one-shot
|
||||
ansible.builtin.replace:
|
||||
path: "{{ stoat_install_dir }}/compose.yml"
|
||||
regexp: '(createbuckets:\n\s+condition: )service_started'
|
||||
replace: '\1service_completed_successfully'
|
||||
|
||||
# The compose file bind-mounts these directories; create them up
|
||||
# front so podman-compose does not fail on missing sources.
|
||||
- name: Create data directories referenced by compose bind mounts
|
||||
|
||||
Reference in New Issue
Block a user