-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
46 lines (42 loc) · 1.07 KB
/
docker-compose.yml
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
43
44
45
46
version: "3.5"
services:
mongo:
image: mongo:6.0.5
restart: always
volumes:
- /tmp/walkingshadows/data/mongodb:/data/db
- /tmp/walkingshadows/data/init-mongo.js:/docker-entrypoint-initdb.d/init-mongo.js:ro
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: example
mongo-express:
image: mongo-express:0.54.0
restart: always
ports:
- "8081:8081"
environment:
ME_CONFIG_MONGODB_ADMINUSERNAME: root
ME_CONFIG_MONGODB_ADMINPASSWORD: example
ME_CONFIG_MONGODB_URL: mongodb://root:example@mongo:27017/
depends_on:
- mongo
redis-stack:
image: redis/redis-stack:7.0.6-RC7
restart: always
ports:
- "6379:6379"
- "8001:8001"
volumes:
- /tmp/walkingshadows/data/redis:/data
ws-world:
image: ws-world:latest
restart: always
environment:
OPENAI_API_KEY: ${OPENAI_API_KEY}
MONGODB_URL: mongodb://root:example@mongo:27017/
LOGURU_LEVEL: INFO
ports:
- "8000:8000"
depends_on:
- mongo
- redis-stack