Skip to content

Commit

Permalink
Use fully-qualified image names in docker-compose files
Browse files Browse the repository at this point in the history
… for compatibility with podman-compose w/ default configuration.
  • Loading branch information
svix-jplatte authored and svix-aaron1011 committed Feb 6, 2024
1 parent 7f70a3b commit 4cc41dc
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
6 changes: 3 additions & 3 deletions bridge/testing-docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
version: "3.7"
services:
rabbitmq:
image: rabbitmq:3.11.11-management-alpine
image: "docker.io/rabbitmq:3.11.11-management-alpine"
ports:
- "5672:5672"
- "15672:15672"

elasticmq: # Drop-in SQS replacement
image: softwaremill/elasticmq:1.3.14
image: "docker.io/softwaremill/elasticmq:1.3.14"
ports:
- "9324:9324"
- "9325:9325"
Expand All @@ -18,7 +18,7 @@ services:
- "6379:6379"

gcp-pubsub:
image: gcr.io/google.com/cloudsdktool/google-cloud-cli:emulators
image: "gcr.io/google.com/cloudsdktool/google-cloud-cli:emulators"
ports:
- "8085:8085"
command: [
Expand Down
6 changes: 3 additions & 3 deletions server/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ services:
- redis

postgres:
image: postgres:13.4
image: "docker.io/postgres:13.4"
volumes:
- "postgres-data:/var/lib/postgresql/data/"
environment:
POSTGRES_PASSWORD: postgres

pgbouncer:
image: edoburu/pgbouncer:1.15.0
image: "docker.io/edoburu/pgbouncer:1.15.0"
healthcheck:
test: "pg_isready -h localhost"
interval: 30s
Expand All @@ -38,7 +38,7 @@ services:
- postgres

redis:
image: "redis:7-alpine"
image: "docker.io/redis:7-alpine"
# Enable persistence
command: "--save 60 500 --appendonly yes --appendfsync everysec"
volumes:
Expand Down
16 changes: 8 additions & 8 deletions server/testing-docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: "3.7"
services:
postgres:
image: postgres:13.4
image: "docker.io/postgres:13.4"
command: postgres -c 'max_connections=500'
volumes:
- "postgres-data:/var/lib/postgresql/data/"
Expand All @@ -17,7 +17,7 @@ services:

# Redis cluster
redis-cluster:
image: "bitnami/redis-cluster:7.0.10"
image: "docker.io/bitnami/redis-cluster:7.0.10"
environment:
ALLOW_EMPTY_PASSWORD: "yes"
REDIS_NODES: "redis-cluster redis-cluster-node-0 redis-cluster-node-1 redis-cluster-node-2 redis-cluster-node-3 redis-cluster-node-4"
Expand All @@ -33,47 +33,47 @@ services:
- redis-cluster-node-4

redis-cluster-node-0:
image: "bitnami/redis-cluster:7.0.10"
image: "docker.io/bitnami/redis-cluster:7.0.10"
ports:
- "6381:6379"
environment:
ALLOW_EMPTY_PASSWORD: "yes"
REDIS_NODES: "redis-cluster redis-cluster-node-0 redis-cluster-node-1 redis-cluster-node-2 redis-cluster-node-3 redis-cluster-node-4"

redis-cluster-node-1:
image: "bitnami/redis-cluster:7.0.10"
image: "docker.io/bitnami/redis-cluster:7.0.10"
ports:
- "6382:6379"
environment:
ALLOW_EMPTY_PASSWORD: "yes"
REDIS_NODES: "redis-cluster redis-cluster-node-0 redis-cluster-node-1 redis-cluster-node-2 redis-cluster-node-3 redis-cluster-node-4"

redis-cluster-node-2:
image: "bitnami/redis-cluster:7.0.10"
image: "docker.io/bitnami/redis-cluster:7.0.10"
ports:
- "6383:6379"
environment:
ALLOW_EMPTY_PASSWORD: "yes"
REDIS_NODES: "redis-cluster redis-cluster-node-0 redis-cluster-node-1 redis-cluster-node-2 redis-cluster-node-3 redis-cluster-node-4"

redis-cluster-node-3:
image: "bitnami/redis-cluster:7.0.10"
image: "docker.io/bitnami/redis-cluster:7.0.10"
ports:
- "6384:6379"
environment:
ALLOW_EMPTY_PASSWORD: "yes"
REDIS_NODES: "redis-cluster redis-cluster-node-0 redis-cluster-node-1 redis-cluster-node-2 redis-cluster-node-3 redis-cluster-node-4"

redis-cluster-node-4:
image: "bitnami/redis-cluster:7.0.10"
image: "docker.io/bitnami/redis-cluster:7.0.10"
ports:
- "6385:6379"
environment:
ALLOW_EMPTY_PASSWORD: "yes"
REDIS_NODES: "redis-cluster redis-cluster-node-0 redis-cluster-node-1 redis-cluster-node-2 redis-cluster-node-3 redis-cluster-node-4"

rabbitmq:
image: rabbitmq:3.11.13-management-alpine
image: "docker.io/rabbitmq:3.11.13-management-alpine"
ports:
- "5672:5672"
- "15672:15672"
Expand Down

0 comments on commit 4cc41dc

Please sign in to comment.