Skip to content
Merged
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
8 changes: 6 additions & 2 deletions develop/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,20 +27,23 @@ Kill all potentially running frontend or registry containers:

docker-compose -f docker-registry-frontend/develop/docker-compose.yml kill

Then open (develop/docker-compose.yml)[develop/docker-compose.yml] and paste this into the file:
Then open [develop/docker-compose.yml](docker-compose.yml) and paste this into the file:

```yaml
frontend:
build: .
ports:
- "9000:9000"
volumes:
- ../:/source:rw
- ./start-develop.sh:/root/start-develop.sh:ro
```

Notice that we removed the `links` section from the `frontend` section and that the `registry` section is completely gone.

Now open [Gruntfile.js](Gruntfile.js) and find these lines:
Now open [Gruntfile.js](../Gruntfile.js) and find these lines:

```javascript
{
context: '/v2',
host: 'path-to-your-registry-v2',
Expand All @@ -51,6 +54,7 @@ Now open [Gruntfile.js](Gruntfile.js) and find these lines:
"x-custom-added-header": 'custom-value'
}
}
```

Adjust them to your liking and replace `path-to-your-registry` with the IP address or hostname of your own registry. I suggest to use the IP address; otherwise your development container might have hard time resolving the domain.

Expand Down