Skip to content
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

Open
chilanti opened this issue Sep 11, 2019 · 1 comment
Open

Document Appsody "airgap" (appsody-nginx) #312

chilanti opened this issue Sep 11, 2019 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@chilanti
Copy link
Contributor

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 and appsody 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:

  1. Make sure your 8008 port is available locally:
    netstat -na |grep 8008
    (or pick another port)

  2. Download the nginx image:
    docker pull appsody/appsody-index

  3. Run it:
    docker run -p 8008:8080 -e EXTERNAL_URL=http://localhost:8008/ appsody/appsody-index

  4. Check that someone is listening on 8008:
    sudo lsof -PiTCP -sTCP:LISTEN

  5. 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

  6. Remove repos that aren't accessible:
    appsody repo remove <repo name>
    for every repo.

  7. Now run appsody list.

@skoh7645
Copy link
Collaborator

Users won't need to do the "remove repos that aren't accessible" step, once appsody/appsody#308 goes in

@neeraj-laad neeraj-laad transferred this issue from appsody/appsody Oct 18, 2019
@neeraj-laad neeraj-laad added the documentation Improvements or additions to documentation label Oct 18, 2019
@neeraj-laad 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
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

5 participants