Skip to content

Commit aaf1535

Browse files
msabramokwk
authored andcommitted
develop/README.md: Fix link (#138)
* develop/README.md: Fix link Fix link to develop/docker-compose.yml which had square brackets and parentheses interchanged. * develop/README.md: Add YAML syntax highlighting to `docker-compose.yml` snippet. * develop/README.md: Fix link to Gruntfile.js * develop/README.md: Highlight Gruntfile.js as Javascript.
1 parent d5dd87d commit aaf1535

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

develop/README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,20 +27,23 @@ Kill all potentially running frontend or registry containers:
2727

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

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

32+
```yaml
3233
frontend:
3334
build: .
3435
ports:
3536
- "9000:9000"
3637
volumes:
3738
- ../:/source:rw
3839
- ./start-develop.sh:/root/start-develop.sh:ro
40+
```
3941
4042
Notice that we removed the `links` section from the `frontend` section and that the `registry` section is completely gone.
4143

42-
Now open [Gruntfile.js](Gruntfile.js) and find these lines:
44+
Now open [Gruntfile.js](../Gruntfile.js) and find these lines:
4345

46+
```javascript
4447
{
4548
context: '/v2',
4649
host: 'path-to-your-registry-v2',
@@ -51,6 +54,7 @@ Now open [Gruntfile.js](Gruntfile.js) and find these lines:
5154
"x-custom-added-header": 'custom-value'
5255
}
5356
}
57+
```
5458

5559
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.
5660

0 commit comments

Comments
 (0)