add Cassandra

This commit is contained in:
2024-11-30 19:19:56 +01:00
parent a0e8701de0
commit 31e4f88735
2 changed files with 26 additions and 0 deletions

View File

@@ -104,3 +104,14 @@ PostgreSQL is a powerful, open-source relational database management system (RDB
POSTGRES_USER: postgres
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
```

View File

@@ -5,6 +5,7 @@ networks:
name: develop
volumes:
cassandra:
influx-config:
influx-data:
postgres:
@@ -84,3 +85,17 @@ services:
- develop
volumes:
- 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