You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* 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.
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:
31
31
32
+
```yaml
32
33
frontend:
33
34
build: .
34
35
ports:
35
36
- "9000:9000"
36
37
volumes:
37
38
- ../:/source:rw
38
39
- ./start-develop.sh:/root/start-develop.sh:ro
40
+
```
39
41
40
42
Notice that we removed the `links` section from the `frontend` section and that the `registry` section is completely gone.
41
43
42
-
Now open [Gruntfile.js](Gruntfile.js) and find these lines:
44
+
Now open [Gruntfile.js](../Gruntfile.js) and find these lines:
43
45
46
+
```javascript
44
47
{
45
48
context: '/v2',
46
49
host: 'path-to-your-registry-v2',
@@ -51,6 +54,7 @@ Now open [Gruntfile.js](Gruntfile.js) and find these lines:
51
54
"x-custom-added-header": 'custom-value'
52
55
}
53
56
}
57
+
```
54
58
55
59
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.
0 commit comments