Skip to content

Commit d8221af

Browse files
committed
use docker compose 3.3
1 parent 1a9a813 commit d8221af

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

README.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -116,13 +116,15 @@ Then, start the db and fill it with molecules. You have two options:
116116
#### Option 1 - Small Database of 1000 molecules (Recommended for Udacity's reviewers)
117117

118118
```bash
119-
docker-compose up -d db && docker-compose exec db bash -c "SMALLDB=1 /utility/populate_db.sh"
119+
docker-compose up -d db && \
120+
docker-compose exec db bash -c "SMALLDB=1 /utility/populate_db.sh"
120121
```
121122

122123
#### Option 2 - Large database of ~3M compounds (Recommended for Udacity's reviewers)
123124

124125
```bash
125-
docker-compose up -d db && docker-compose exec db bash -c "/utility/populate_db.sh"
126+
docker-compose up -d db && \
127+
docker-compose exec db bash -c "/utility/populate_db.sh"
126128
```
127129

128130
> **Warning:** This command will take a while because it inserts ~3M rows in the db and [creates indexes to perform efficient searches](https://rdkit.org/docs/Cartridge.html), a rough estimate being between 15 minutes and an hour.

docker-compose.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: "3.9"
1+
version: "3.3"
22

33
services:
44
db:

0 commit comments

Comments
 (0)