Skip to content

Commit

Permalink
Move Docker to krakend registry
Browse files Browse the repository at this point in the history
  • Loading branch information
alombarte committed Mar 1, 2023
1 parent 275fa97 commit 9da1670
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.PHONY: all install watch docker_build clean create_image serve

all: install
all: install

# Installs the dependencies and generates the JS bundle
install:
Expand All @@ -15,10 +15,10 @@ build:

# Build the image
docker_build:
docker build -t devopsfaith/krakendesigner .
docker build -t krakend/designer .

serve:
docker run --rm -d -p 8080:80 -v "${PWD}/designer:/usr/share/nginx/html" devopsfaith/krakendesigner
docker run --rm -d -p 8000:80 -v "${PWD}/designer:/usr/share/nginx/html" krakend/designer

clean:
rm -fr node_modules
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ An application made with AngularJS to visually create the `krakend.json` file.

[Try it live!](http://designer.krakend.io)

![Screenshot](https://github.com/devopsfaith/krakendesigner/blob/master/media/screenshot.png?raw=true)
![Screenshot](https://github.com/krakend/krakendesigner/blob/master/media/screenshot.png?raw=true)

[Download KrakenD](https://www.krakend.io/download/) | [Build KrakenD](https://github.com/krakendio/krakend-ce) | [Documentation](https://www.krakend.io/docs/overview/) | [Blog](https://www.krakend.io/blog)

## Usage
To use the application, it is not necessary to clone the repository. Run the following to start a web server with the KrakenDesigner:

docker run --rm -p 8080:80 devopsfaith/krakendesigner
docker run --rm -p 8000:80 krakend/designer

## Build
The build process leaves a single html file and a single JS file in the `designer` folder that is later deployed inside the KrakenD images. Build with:
Expand All @@ -31,7 +31,7 @@ If you don't have Docker, you can see your local `npm` to install the dependenci
### Testing changes
Start the web server pointing to `designer/` and mounting the volume:

docker run --rm -d -p 8080:80 -v "$PWD/designer:/usr/share/nginx/html" devopsfaith/krakendesigner
docker run --rm -d -p 8000:80 -v "$PWD/designer:/usr/share/nginx/html" krakend/designer

Remember to `make build` or `make watch` if you change HTML, CSS or JS.

Expand Down
2 changes: 1 addition & 1 deletion src/app/forms/dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ <h3 class="box-title">KrakenDesigner</h3>
<p>It is a pure static page that does not send any of your configurations elsewhere nor tracks its
contents.
It's hosted online for your convenience, but you can also run it as a <a
href="https://hub.docker.com/r/devopsfaith/krakendesigner">Docker container</a> or <a
href="https://hub.docker.com/r/krakend/designer">Docker container</a> or <a
href="https://github.com/krakendio/krakendesigner">build it from source</a>.
</p>
<p>By using this tool, you don't need to learn and write the configuration from scratch, dramatically
Expand Down

0 comments on commit 9da1670

Please sign in to comment.