-
Notifications
You must be signed in to change notification settings - Fork 29
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
Document Appsody "airgap" (appsody-nginx) #312
Labels
documentation
Improvements or additions to documentation
Comments
Users won't need to do the "remove repos that aren't accessible" step, once appsody/appsody#308 goes in |
neeraj-laad
changed the title
Appsody "airgap" - document usage of nginx image
Document Appsody "airgap" (appsody-nginx)
Oct 18, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
When access to the internet (GitHub) is not guaranteed, we have a stop gap solution that allows a developer to work in isolation (at least for
appsody list
andappsody init
) - but that solution needs to be documented.Describe the solution you'd like
Documentation on downloading the local
nginx
image and using it.The steps are as follows:
Make sure your 8008 port is available locally:
netstat -na |grep 8008
(or pick another port)
Download the nginx image:
docker pull appsody/appsody-index
Run it:
docker run -p 8008:8080 -e EXTERNAL_URL=http://localhost:8008/ appsody/appsody-index
Check that someone is listening on 8008:
sudo lsof -PiTCP -sTCP:LISTEN
Add the new repo and make it the default:
appsody repo add nginx-incubator http://localhost:8008/incubator-index.yaml
appsody repo set-default nginx-incubator
Remove repos that aren't accessible:
appsody repo remove <repo name>
for every repo.
Now run
appsody list
.The text was updated successfully, but these errors were encountered: