Skip to content

Commit

Permalink
Build: make pulp docker-compose reusable (#923)
Browse files Browse the repository at this point in the history
  • Loading branch information
jlsherrill authored Dec 18, 2024
1 parent 57399dc commit ea9344c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
13 changes: 3 additions & 10 deletions compose_files/pulp/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ services:
postgres:
image: "docker.io/library/postgres:16"
ports:
- "5432:5432"
- "${PULP_DATABASE_PORT:-5432}:5432"
environment:
POSTGRES_USER: pulp
POSTGRES_PASSWORD: password
Expand Down Expand Up @@ -64,7 +64,7 @@ services:
migration_service:
condition: service_completed_successfully
ports:
- 8080:24817
- ${PULP_API_PORT:-8080}:24817
hostname: pulp-api
user: pulp
volumes:
Expand All @@ -91,7 +91,7 @@ services:
migration_service:
condition: service_completed_successfully
ports:
- 8081:24816
- ${PULP_CONTENT_PORT:-8081}:24816
hostname: pulp-content
user: pulp
volumes:
Expand Down Expand Up @@ -131,13 +131,6 @@ services:
PULP_CONTENT_ORIGIN: "http://pulp.content:8081/"
PULP_CONTENT_PATH_PREFIX: "/pulp/content/"
restart: always
minio:
image: quay.io/minio/minio
hostname: minio
command: server /data --console-address ":9001"
ports:
- 9002:9000
- 9001:9001
volumes:
pulp:
name: pulp${DEV_VOLUME_SUFFIX:-dev}
Expand Down
7 changes: 7 additions & 0 deletions deployments/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,13 @@ services:
image: docker.io/redis
ports:
- "6379:6379"
minio:
image: quay.io/minio/minio
hostname: minio
command: server /data --console-address ":9001"
ports:
- 9002:9000
- 9001:9001
volumes:
database:
zookeeper:

0 comments on commit ea9344c

Please sign in to comment.