Skip to content

Commit 21c62f3

Browse files
authored
update vi-docker-development-tutorial.md (#3729)
1 parent 3b61345 commit 21c62f3

File tree

1 file changed

+29
-29
lines changed

1 file changed

+29
-29
lines changed

pages/vi/vi-docker-development-tutorial.md

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -68,35 +68,35 @@ Next, run `ng version` to check your Angular CLI version, look for `Angular CLI:
6868

6969
```bash
7070
services:
71-
couchdb:
72-
expose:
73-
- 5984
74-
image: treehouses/couchdb:2.3.1
75-
ports:
76-
- "2200:5984"
77-
volumes:
78-
- "~/srv/planetdev/conf:/opt/couchdb/etc/local.d"
79-
- "~/srv/planetdev/data:/opt/couchdb/data"
80-
- "~/srv/planetdev/log:/opt/couchdb/var/log"
81-
chatapi:
82-
image: treehouses/planet:chatapi
83-
depends_on:
84-
- couchdb
85-
ports:
86-
- "5xxx:5xxx"
87-
environment:
88-
- COUCHDB_HOST=http://couchdb:5984
89-
#- COUCHDB_USER=planet
90-
#- COUCHDB_PASS=planet
91-
- SERVE_PORT=5xxx
92-
db-init:
93-
image: treehouses/planet:db-init
94-
depends_on:
95-
- couchdb
96-
environment:
97-
- COUCHDB_HOST=http://couchdb:5984
98-
#- COUCHDB_USER=planet
99-
#- COUCHDB_PASS=planet
71+
couchdb:
72+
expose:
73+
- 5984
74+
image: treehouses/couchdb:2.3.1
75+
ports:
76+
- "2200:5984"
77+
volumes:
78+
- "~/srv/planetdev/conf:/opt/couchdb/etc/local.d"
79+
- "~/srv/planetdev/data:/opt/couchdb/data"
80+
- "~/srv/planetdev/log:/opt/couchdb/var/log"
81+
chatapi:
82+
image: treehouses/planet:chatapi
83+
depends_on:
84+
- couchdb
85+
ports:
86+
- "5xxx:5xxx"
87+
environment:
88+
- COUCHDB_HOST=http://couchdb:5984
89+
#- COUCHDB_USER=planet
90+
#- COUCHDB_PASS=planet
91+
- SERVE_PORT=5xxx
92+
db-init:
93+
image: treehouses/planet:db-init
94+
depends_on:
95+
- couchdb
96+
environment:
97+
- COUCHDB_HOST=http://couchdb:5984
98+
#- COUCHDB_USER=planet
99+
#- COUCHDB_PASS=planet
100100
```
101101

102102
**Note**: Replace `5xxx` with `5000` for Linux and `5400` for macOS/Windows. This is the port that the chatapi service will run on.

0 commit comments

Comments
 (0)