add Cassandra
This commit is contained in:
11
README.md
11
README.md
@@ -104,3 +104,14 @@ PostgreSQL is a powerful, open-source relational database management system (RDB
|
|||||||
POSTGRES_USER: postgres
|
POSTGRES_USER: postgres
|
||||||
POSTGRES_PASSWORD : password
|
POSTGRES_PASSWORD : password
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### PostgreSQL
|
||||||
|
|
||||||
|
Apache Cassandra is a distributed NoSQL database designed for handling large amounts of data across many commodity servers with no single point of failure. It is optimized for high availability, scalability, and fault tolerance.
|
||||||
|
|
||||||
|
#### Environment
|
||||||
|
|
||||||
|
```text
|
||||||
|
CASSANDRA_USER: cassandra
|
||||||
|
CASSANDRA_PASSWORD: password
|
||||||
|
```
|
||||||
|
|||||||
15
compose.yml
15
compose.yml
@@ -5,6 +5,7 @@ networks:
|
|||||||
name: develop
|
name: develop
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
|
cassandra:
|
||||||
influx-config:
|
influx-config:
|
||||||
influx-data:
|
influx-data:
|
||||||
postgres:
|
postgres:
|
||||||
@@ -84,3 +85,17 @@ services:
|
|||||||
- develop
|
- develop
|
||||||
volumes:
|
volumes:
|
||||||
- postgres:/var/lib/postgresql/data
|
- postgres:/var/lib/postgresql/data
|
||||||
|
|
||||||
|
cassandra:
|
||||||
|
image: cassandra:5.0.2
|
||||||
|
container_name: Cassandra
|
||||||
|
restart: unless-stopped
|
||||||
|
environment:
|
||||||
|
CASSANDRA_USER: cassandra
|
||||||
|
CASSANDRA_PASSWORD: password
|
||||||
|
networks:
|
||||||
|
- develop
|
||||||
|
ports:
|
||||||
|
- "9042:9042"
|
||||||
|
volumes:
|
||||||
|
- cassandra:/var/lib/cassandra
|
||||||
|
|||||||
Reference in New Issue
Block a user