-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Very Difficult to find Information + Broken Links in Documentation #708
Comments
@luckylinux Have you read the docker/podman-compose example? https://pulpproject.org/pulp-oci-images/docs/admin/tutorials/quickstart/#podman-or-docker-compose It contains an example |
@gerrod3: Thanks for your Reply. I was following that Guide actually but I've never needed to use all of the "extra" Files in any of my previous Deployements for other Containers, so I actually just downloaded & tweaked the Turns out indeed there is a The DB Connection data is indeed illustrated in I'm still a bit puzzled about By the Way, is the project still alive or is it getting deprecated ? I couldn't see much activity in the Issues Section and the Broken Documentation seemed to also suggest that 😕 |
I'm pretty sure the reason for the Of course the Yes this project is very much alive, this repository is just how we deploy Pulp. The majority of our development goes on here: https://github.com/pulp/pulpcore. I'll take a look at the broken links, we transitioned our docs into one site last year and there are still some left overs hanging around. |
Alright, thanks 👍 . I'll give it a try tomorrow. I also cross-checked briefly with I'm still puzzled about EDIT 1: If anything, the PostgreSQL Version looks unusually Old (I think I usually run 16.x). |
I don't think there are any restrictions on using bind mounts over volumes besides the normal UID issues on who can access what. If you want to experiment and post the results we will gladly take it and add it as an example to the docs. Right now the compose example is set up for minimal effort needed to get running. We could add some more documentation on how to customize your install. For your case you probably don't need the Also, for the postgres version you should be able to upgrade to a newer version if you want. We are on version 13 because some of our stakeholders use old versions, so we are slow to upgrade. |
So after a lot of Frustration due to Bind Mount Permissions (especially loading the Symmetric Key File, finally "fixed" by setting I'm still a bit puzzled that Surely using Docker / Podman Volumes is the recommended Way, but I still cannot figure out how to do simple stuff like editing a File inside a volume (when the Container refuses to boot of course 🤣). Of course you can stop everything, mount the Volume into another Container (e.g. |
Hi 😃. I was looking into running a PyPi-like Server for hosting an Internal / Private Python Package Registry at work. This Project appeared to be very promising in Terms of Features compared to e.g. Devpi or other Projects like that.
However, whether it's due to my lack of Knowledge in Kubernetes (I only plan on deploying this as a
docker-compose.yml
File, possibly we'll see about HA or Kubernetes later) or just some Links that broke after an update in the Codebase ... Basically I find it very difficult (to some extent even Impossible) to find any Information.I think I got to a reasonable Level in terms of Docker/Podman and Compose Files so far, yet
I'm currently stuck at starting Docker Compose and the PostgreSQL Database.
I'm running in Windows 11 with Docker Desktop (we have a License for that at Work) using Bind Mounts. The first obstacle was to
touch
some Files (IIRCpasswd
for PostgreSQL andsettings.py
for thepulp
Server Service), otherwise Docker would complain that File is mounted as Folder or vice versa.Once I managed to fix that, PostgreSQL Container kept complaining that it couldn't find the
postgres
User. The only Way to solve that and get PostgreSQL to initialize its Database was to REMOVE thepasswd
File Volume Mount. I actually NEVER used thepasswd
File with a PostgreSQL Container before so I'm not really sure what it's meant to do. I usually use Podman Secrets (or on some Projects don't support them, the corresponding Environment Variables), but I couldn't find anything in the Documentation that clearly states how to configure the Database usingpasswd
File (as outlined in the Quickstart Guide) or withoutpasswd
. Is that meant to contain a single Line for thepostgres
User in Linux/etc/passwd/
File Format ? Or which Accounts does it require to be Defined there ?It could be one Issue with WSL2 and Docker Desktop, so I'll also try directly on an Ubuntu 24.04 Virtual Machine on HyperV to rule that out. But the main Mystery based on what I could (not) find is how does
pulp-minimal
Services determine the Host/Port/Username/Password to connect to PostgreSQL ?I would expect at least one of the following Options for configuring
pulp-minimal
withindocker-compose.yml
:POSTGRES_USER_FILE
,POSTGRES_PASSWORD_FILE
, ...)postgresql
Container itself (POSTGRES_USER
,POSTGRES_PASSWORD
, ...)settings.py
but unsure how exactly it's supposed to be configured, what Options are available (might be "standard" Django Options, but I am not familiar with django, so it's really a Guess Game)The Reference Guide doesn't seem to contain any PostgreSQL Setting (it contains Redis Settings though).
The following Links are broken:
Looking at the PULP Database Configuration but it's only mentioning Kubernetes.
The only thing that remotely resembles a Syntax that I can recognize would be the Ansible Role for Pulp Database (https://docs.pulpproject.org/pulp_installer/roles/pulp_database/). But it seems more related to Ansible than anything else 😞.
There's probably an Assumption within the Project that everybody is using/going to use Kubernetes ? Not sure ... I find the Kubernetes learning Curve quite steep 😞.
Thanks in advance for your Help☺️ . I hope it's not a silly Question 😞
The text was updated successfully, but these errors were encountered: