Openverse is a search engine for openly-licensed media. This monorepo includes all application code.
Use published Docker image in primary docker-compose.yml (#417)
Madison Swain-Bowden22a8965b6ff8
diff --git a/docker-compose.override.yml b/docker-compose.override.ymlindex a8da5057a..45d58b9c0 100644--- a/docker-compose.override.yml+++ b/docker-compose.override.yml@@ -52,8 +52,10 @@ services:- postgres- s3build:+ context: .args:- REQUIREMENTS_FILE=requirements_dev.txt+ dockerfile: docker/airflow/Dockerfile# This command ensures an admin account is created on startupcommand: initvolumes:diff --git a/docker-compose.yml b/docker-compose.ymlindex 7cf975e3b..78c5cdf38 100644--- a/docker-compose.yml+++ b/docker-compose.yml@@ -3,10 +3,7 @@ version: '3'services:webserver:- build:- context: .- dockerfile: docker/airflow/Dockerfile- image: openverse-catalog+ image: ghcr.io/wordpress/openverse-catalog:${DOCKER_IMAGE_TAG:-latest}env_file: .envrestart: alwaysports:diff --git a/env.template b/env.templateindex 97c72d31f..a7e5fa655 100644--- a/env.template+++ b/env.template@@ -69,6 +69,10 @@ EMR_TEST_CONN_ID=emr_test######################################################################################### Other config########################################################################################+# Version of the catalog docker image to use. Defaults to `latest` and is not used for+# local development (since the image is always built locally). See available tags at+# https://ghcr.io/wordpress/openverse-catalog+DOCKER_IMAGE_TAG=latest# External port airflow will be mounted toAIRFLOW_PORT=9090# Minutes to wait until processing a file that hasn't been modified