Skip to content

Commit 9a242ee

Browse files
committed
cassandra setup and start
1 parent b6b4b04 commit 9a242ee

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

SETUP.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
```bash
2+
docker volume create cassandra-vol --opt o=rw
3+
docker run --name daily-coding-challenge-db --mount source=cassandra-vol,target=/var/lib/cassandra -d cassandra
4+
docker logs daily-coding-challenge-db
5+
```

docker-compose.yml

Whitespace-only changes.

startdb.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
docker run --daily-coding-challenge-db -v F:\cassandra-datad
2+
ir:/var/lib/cassandra -d cassandra

0 commit comments

Comments
 (0)