Skip to content

Commit 7b39c15

Browse files
test
1 parent 27b60c9 commit 7b39c15

1 file changed

Lines changed: 12 additions & 3 deletions

File tree

‎docker-compose.yml‎

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ services:
1313
ports:
1414
- 5984:5984
1515
environment:
16-
- COUCHDB_USER
17-
- COUCHDB_PASSWORD
16+
- COUCHDB_USER=leon
17+
- COUCHDB_PASSWORD=GL03!
1818
healthcheck:
1919
test: curl -f http://localhost:5984/_up || exit 1
2020
start_period: 10s
@@ -32,4 +32,13 @@ services:
3232
put backend:5984/calendes/_security --data '{"members":{"roles":[]},"admins":{"roles":["_admin"]}}'
3333
depends_on:
3434
backend:
35-
condition: service_healthy
35+
condition: service_healthy
36+
37+
#updated_samples:
38+
# image: curlimages/curl
39+
# entrypoint: ["/bin/sh","-c"]
40+
# volumes:
41+
# - ./moz-todo-react/public/sample_data.json:/sample_data.json
42+
# command:
43+
# - |
44+
# curl -X POST http://backend:5984/calendes/_bulk_docs -H "Content-Type: application/json" -d @/sample_data.json -u '${COUCHDB_USER}:${COUCHDB_PASSWORD}'

0 commit comments

Comments
 (0)