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

Add docker deploy #157

Open
wants to merge 2 commits into
base: v2
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,16 @@ You can set `true` or `false` to this flag.

**NOTE** For now `ENV_MODE_BROWSE_ONLY` will be overwritten to `true`.

# Docker Compose v3

In order to deploy the frontend as service, just use `docker deploy` with the compose file (docker-engine >=1.13):

```
$ docker deploy -c docker-compose.yml dockerreg
Creating network dockerreg_default
Creating service dockerreg_frontend
```

# Default repositories per page

By default 20 repositories will be listed per page. To adjust this number, to
Expand Down
9 changes: 9 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: '3'
services:
frontend:
image: konradkleine/docker-registry-frontend:v2
environment:
- ENV_DOCKER_REGISTRY_HOST=localhost
- ENV_DOCKER_REGISTRY_PORT=5000
ports:
- 8080:80