Skip to content

Commit 2bdec45

Browse files
FrostyXpraiskup
authored andcommitted
docker: add pulp container
See fedora-copr#2533 We are using a multi-process container https://pulpproject.org/pulp-oci-images/docs/admin/guides/deploy-multi-process-images/
1 parent 11cdd66 commit 2bdec45

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

docker-compose.yaml

+18
Original file line numberDiff line numberDiff line change
@@ -182,10 +182,28 @@ services:
182182
- .:/opt/copr:z
183183
- copr-keygen:/var/lib/copr-keygen:z
184184

185+
pulp:
186+
image: ghcr.io/pulp/pulp:latest
187+
hostname: pulp
188+
stdin_open: true
189+
tty: true
190+
environment:
191+
- PULP_DEFAULT_ADMIN_PASSWORD=admin
192+
ports:
193+
- 5006:80
194+
volumes:
195+
- pulp-storage:/var/lib/pulp:Z
196+
- pulp-database:/var/lib/pgsql
197+
devices:
198+
- /dev/fuse:/dev/fuse
199+
200+
185201
volumes:
186202
results:
187203
copr-keygen:
188204
dist-git:
189205
database:
190206
redis:
191207
resalloc:
208+
pulp-storage:
209+
pulp-database:
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[cli]
2+
base_url = "http://pulp:80"
3+
api_root = "/pulp/"
4+
domain = "default"
5+
username = "admin"
6+
password = "admin"
7+
cert = ""
8+
key = ""
9+
verify_ssl = true
10+
format = "json"
11+
dry_run = false
12+
timeout = 0
13+
verbose = 0

0 commit comments

Comments
 (0)