Skip to content

Commit 1b313a9

Browse files
committed
chore: Add Scylla to docker-compose.yml
1 parent 092b740 commit 1b313a9

2 files changed

Lines changed: 7 additions & 14 deletions

File tree

‎.gitignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ erl_crash.dump
2525
# Docker volumes
2626
/pgdata
2727
/msg_pgdata
28+
/scylla_data
2829

2930
# Ignore package tarball (built via "mix hex.build").
3031
octocon-*.tar

‎docker-compose.dev.yml‎

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,12 @@
11
services:
2-
db:
3-
image: postgres:16-alpine
4-
environment:
5-
POSTGRES_USER: postgres
6-
POSTGRES_PASSWORD: postgres
7-
PGDATA: /var/lib/postgresql/data/pgdata
8-
restart: always
2+
scylla:
3+
image: scylladb/scylla:2025.1
94
ports:
10-
- "4001:5432"
5+
- "9042:9042"
6+
restart: always
7+
command: --smp 1 --memory 1G --overprovisioned 1 --developer-mode 1
118
volumes:
12-
- ./pgdata:/var/lib/postgresql/data
13-
deploy:
14-
resources:
15-
limits:
16-
cpus: "1.0"
17-
memory: 4000M
9+
- ./scylla_data:/var/lib/scylla
1810
msg_db:
1911
image: timescale/timescaledb:latest-pg16
2012
environment:

0 commit comments

Comments
 (0)