-
Notifications
You must be signed in to change notification settings - Fork 55
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
Add a default settings.py file for galaxy #478
Add a default settings.py file for galaxy #478
Conversation
|
||
# allow configuration via env variables | ||
ENV S6_KEEP_ENV=1 | ||
COPY images/galaxy/settings.py /etc/pulp/settings.py |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just realized this.
Our instructions are to mount the settings
directory. Which will include generated certificates, that must be preserved.
However, if we mount the settings
directory, this file will be ignored.
Users can work around this by pre-creating (mkdir -p) and mounting the settings/certs
subdir instead:
``` | ||
|
||
Once your containers are running see "Reset the Admin Password" section to set up your admin user. | ||
|
||
### Create the Directories and Settings | ||
|
||
1st, create the directories for storage/configuration, and create the `settings.py` file: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Replace:
$ mkdir settings pulp_storage pgsql containers
with:
$ mkdir -p settings/certs pulp_storage pgsql containers
7f7adcf
to
028bdeb
Compare
docs/multi-process-images.md
Outdated
-e "GALAXY_HOSTNAME=my.galaxy.host.example.com" \ | ||
-e "PULP_HTTPS=true" \ | ||
-e "GALAXY_PORT=443" \ | ||
--volume "$(pwd)/certs":/etc/pulp/certs:Z \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
--volume "$(pwd)/certs":/etc/pulp/certs:Z \ | |
--volume "$(pwd)/settings/certs":/etc/pulp/certs:Z \ |
This pull request has been marked 'stale' due to lack of recent activity. If there is no further activity, the PR will be closed in another 30 days. Thank you for your contribution! |
This pull request is no longer marked for closure. |
1 similar comment
This pull request is no longer marked for closure. |
@mikedep333 finally got around to updating this |
[noissue]
aaec187
to
f3ded94
Compare
This adds a default settings.py file to the galaxy image that allows for galaxy_ng to be run out of the box with very little configuration. The goal of this PR is to make the galaxy image as simple as possible for anyone to take for a spin.
Example usage
[noissue]