nginx config broken in Pulp in a Container
When using Pulp in a Container  I experienced issues with getting 404's when attempting to create a token as well as attempting to pull an image via Podman.
#2 Updated by email@example.com over 1 year ago
This issue can be worked around by exposing the content app directly (without going through nginx).
$ mkdir settings pulp_storage pgsql containers $ echo "CONTENT_ORIGIN='$(hostname):8081' ANSIBLE_API_HOSTNAME='http://$(hostname):8080' ANSIBLE_CONTENT_HOSTNAME='http://$(hostname):8080/pulp/content' TOKEN_AUTH_DISABLED=True" >> settings/settings.py
$ podman run --detach \ --publish 8080:80 \ --publish 8081:24816 \ --name pulp \ --volume ./settings:/etc/pulp:Z \ --volume ./pulp_storage:/var/lib/pulp:Z \ --volume ./pgsql:/var/lib/pgsql:Z \ --volume ./containers:/var/lib/containers:Z \ --device /dev/fuse \ pulp/pulp-fedora31
#3 Updated by fao89 over 1 year ago
I notice it when updating the plugins, maybe it can help: https://github.com/pulp/pulp-oci-images/pull/3/files
Please register to edit this issue