-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
42 lines (40 loc) · 1011 Bytes
/
docker-compose.yaml
File metadata and controls
42 lines (40 loc) · 1011 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
version: '3'
services:
redis:
image: redis:latest
container_name: redis_container
ports:
- "6379:6379" # Redis client port
volumes:
- redis:/data # Mount a local directory for data persistence
# rethinkdb:
# image: rethinkdb:latest
# container_name: rethinkdb_container
# ports:
# - "8080:8080" # RethinkDB web UI
# - "28015:28015" # RethinkDB client driver port
# - "29015:29015" # RethinkDB intracluster communication port
# volumes:
# - rethinkdb:/data # Mount a local directory for data persistence
# environment:
# - RETHINKDB_DATA_DIR=/data
# - RETHINKDB_BIND=all
volumes:
redis:
rethinkdb:
#version: '3.7'
#services:
# mongodb-Cont:
# image: mongo:latest
# container_name: mongodb-cont
# environment:
# MONGO_INITDB_ROOT_USERNAME: root
# MONGO_INITDB_ROOT_PASSWORD: rootpassword
# ports:
# - "27017:27017"
# volumes:
# - .dbdata:/data/db
#
#
##To run locaaly
## mongo "mongo url"