From cda4f55a423fe1e95001f97f13112f867010f152 Mon Sep 17 00:00:00 2001 From: Dhruv Bhanushali Date: Sat, 29 Jun 2024 00:22:06 +0400 Subject: [PATCH] Specify pull policy for `openverse-` images (#4568) --- api/compose.yml | 1 + catalog/compose.yml | 1 + docker-compose.yml | 1 + ingestion_server/compose.yml | 1 + 4 files changed, 4 insertions(+) diff --git a/api/compose.yml b/api/compose.yml index b3c4bfa8c38..0a624f8dd90 100644 --- a/api/compose.yml +++ b/api/compose.yml @@ -20,6 +20,7 @@ services: - API_PY_VERSION - PDM_INSTALL_ARGS=--dev image: openverse-api:${API_PDM_HASH:-latest} + pull_policy: never volumes: - .:/api:z - ../packages/python:/packages/python:z diff --git a/catalog/compose.yml b/catalog/compose.yml index b9038c44960..ef4892e855b 100644 --- a/catalog/compose.yml +++ b/catalog/compose.yml @@ -8,6 +8,7 @@ x-airflow-common: &airflow-common - postgres - s3 image: openverse-catalog + pull_policy: never env_file: - .env build: diff --git a/docker-compose.yml b/docker-compose.yml index 82696d7cd2c..43b9f98889d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -36,6 +36,7 @@ services: args: # Automatically inferred from env vars, unless specified - PGCLI_VERSION image: openverse-upstream_db + pull_policy: never ports: - "50255:5432" volumes: diff --git a/ingestion_server/compose.yml b/ingestion_server/compose.yml index 3644bd1b5cf..ff9aecc47c8 100644 --- a/ingestion_server/compose.yml +++ b/ingestion_server/compose.yml @@ -9,6 +9,7 @@ x-ingestion-server-common: &ingestion-server-common args: # Automatically inferred from env vars, unless specified - INGESTION_PY_VERSION image: openverse-ingestion_server + pull_policy: never env_file: - env.docker - .env