-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
created dockerfile and compose for registry browser
- Loading branch information
Showing
7 changed files
with
46 additions
and
4 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,15 @@ | ||
--- | ||
version: '3.7' | ||
services: | ||
rh-registry-browser: | ||
build: | ||
context: ../dockerfile | ||
dockerfile: Dockerfile-rh-registry-browser | ||
image: rh-registry-browser:latest | ||
hostname: rh-registry-browser | ||
container_name: rh-registry-browser | ||
ports: | ||
- "8088:80" | ||
environment: | ||
REGISTRY_SERVER: http://10.0.0.101 | ||
restart: on-failure |
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,17 @@ | ||
FROM registry.access.redhat.com/ubi8/python-38 | ||
|
||
LABEL version="2021.6.3.001" | ||
LABEL description="Docker Registry Browser RHEL8" | ||
LABEL maintainer="Ben Trachtenberg" | ||
|
||
COPY ./registry-browser /registry-browser | ||
|
||
WORKDIR /registry-browser | ||
|
||
RUN pip install --upgrade pip \ | ||
&& pip install --upgrade setuptools wheel \ | ||
&& pip install -r requirements.txt | ||
|
||
EXPOSE 80/tcp | ||
|
||
ENTRYPOINT ["python", "run_web_app.py"] |
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,3 @@ | ||
from web_app import run_local_server | ||
|
||
run_local_server('0.0.0.0', 80) |
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