Skip to content

Commit

Permalink
Add IMAGE_PREFIX variable to docker-compose to support image proxy (#258
Browse files Browse the repository at this point in the history
)

Signed-off-by: Igor Shishkin <me@teran.ru>
  • Loading branch information
teran authored Nov 16, 2024
1 parent 13b770e commit ddbbb94
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
services:
postgresql:
image: index.docker.io/library/postgres:16.3
image: ${IMAGE_PREFIX:-}index.docker.io/library/postgres:16.3
environment:
POSTGRES_PASSWORD: password
ports:
Expand All @@ -12,7 +12,7 @@ services:
retries: 5

minio:
image: quay.io/minio/minio:latest
image: ${IMAGE_PREFIX:-}quay.io/minio/minio:latest
environment:
MINIO_ACCESS_KEY: minioadmin
MINIO_SECRET_KEY: minioadmin
Expand All @@ -36,7 +36,7 @@ services:
build:
context: .
dockerfile: dockerfiles/Dockerfile.migrator
image: ghcr.io/teran/archived/migrator:latest
image: ${IMAGE_PREFIX:-}ghcr.io/teran/archived/migrator:latest
environment:
LOG_LEVEL: trace
METADATA_DSN: postgres://postgres:password@postgresql?sslmode=disable
Expand All @@ -47,7 +47,7 @@ services:
build:
context: .
dockerfile: dockerfiles/Dockerfile.publisher
image: ghcr.io/teran/archived/publisher:latest
image: ${IMAGE_PREFIX:-}ghcr.io/teran/archived/publisher:latest
environment:
LOG_LEVEL: trace
METADATA_DSN: postgres://postgres:password@postgresql?sslmode=disable
Expand All @@ -67,7 +67,7 @@ services:
build:
context: .
dockerfile: dockerfiles/Dockerfile.manager
image: ghcr.io/teran/archived/manager:latest
image: ${IMAGE_PREFIX:-}ghcr.io/teran/archived/manager:latest
environment:
LOG_LEVEL: trace
METADATA_DSN: postgres://postgres:password@postgresql?sslmode=disable
Expand All @@ -90,7 +90,7 @@ services:
# build:
# context: .
# dockerfile: dockerfiles/Dockerfile.seeder
# image: ghcr.io/teran/archived/seeder:latest
# image: ${IMAGE_PREFIX:-}ghcr.io/teran/archived/seeder:latest
# environment:
# LOG_LEVEL: info
# METADATA_DSN: postgres://postgres:password@postgresql?sslmode=disable
Expand Down

0 comments on commit ddbbb94

Please sign in to comment.