-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[noissue]
- Loading branch information
Showing
4 changed files
with
34 additions
and
7 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# pulp_ui | ||
|
||
## Usage | ||
|
||
Provides a container that runs the Pulp UI from source. This requires https://github.com/pulp/pulp-ui to be checked out on your system. | ||
|
||
## Extra Variables | ||
|
||
- `RELATIVE_UI_PATH` | ||
- Description: The location where pulp-ui is checked out on your system relative to SRC_DIR | ||
- Default: pulp-ui |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
version: "3.7" | ||
|
||
services: | ||
ui: | ||
build: | ||
context: "{SRC_DIR}/{RELATIVE_UI_PATH}" | ||
ports: | ||
- "8002:8002" | ||
volumes: | ||
- "{SRC_DIR}/{RELATIVE_UI_PATH}:/pulp/app:z" | ||
tmpfs: | ||
# Forces npm to ignore the node_modules in the volume and look | ||
# for it in ../node_modules instead, while still being able to write .cache | ||
- "/pulp/app/node_modules" | ||
depends_on: | ||
- pulp | ||
environment: | ||
- "API_PROXY_HOST=pulp" | ||
- "API_PROXY_PORT={API_PORT}" |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
RELATIVE_UI_PATH=pulp-ui |