Add docker-compose method for developing website#3078
Open
CannonLock wants to merge 2 commits intoPelicanPlatform:mainfrom
Open
Add docker-compose method for developing website#3078CannonLock wants to merge 2 commits intoPelicanPlatform:mainfrom
CannonLock wants to merge 2 commits intoPelicanPlatform:mainfrom
Conversation
Adds a docker compose file to simplify the setup and running of the the api and reverse proxy when you are developing the frontend. Signed-off-by: clock <clock@wisc.edu>
Adds a docker compose file to simplify the setup and running of the the api and reverse proxy when you are developing the frontend. Signed-off-by: clock <clock@wisc.edu>
h2zh
requested changes
Feb 5, 2026
| ``` | ||
|
|
||
| Then run the following command to start the website and the proxy. | ||
| To develop the Pelican frontend you must run the backend in a separately, as well as set up a proxy to serve your backend and frontend requests from the same host. |
Contributor
There was a problem hiding this comment.
in a separately <?>
Poor word being captured by the alien.
| ``` | ||
|
|
||
| If you would like to proxy the prometheus requests to another service you can do so by filling out .env.template and placing it as .env.local. Then run the docker statement like so to add those variables to the container. | ||
| If you would like to proxy the prometheus requests to another service you can do so by filling out .env.template and placing it as .env.local. |
Contributor
There was a problem hiding this comment.
Could you provide an example/template for this addition?
| - '8444:8444' | ||
| working_dir: /app | ||
| volumes: | ||
| - ../../dist/pelican_linux_arm64_v8.0/:/app |
Contributor
There was a problem hiding this comment.
This directory only exists in ARM64. Could you add a comment here to remind the user to replace it in other environments?
| ports: | ||
| - '8443:8443' | ||
| env_file: | ||
| - ./dev/.env.local |
Contributor
There was a problem hiding this comment.
This file is not in the repo. Could you add a comment here to remind the user this config is optional? Also prompt user to look at the template you provided for this file in the writeup markdown.
| working_dir: /app | ||
| volumes: | ||
| - ../../:/app | ||
| command: --clean --snapshot --config .goreleaser.dev.yml |
Contributor
There was a problem hiding this comment.
.goreleaser.dev.yml is not in this directory. Could you add this file to Git?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a docker compose file to simplify the setup and running of the the api and reverse proxy when you are developing the frontend.