-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
38 lines (33 loc) · 983 Bytes
/
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
version: "3.9"
services:
Riakmaw:
image: riakmaw
container_name: RiakmawBot
build:
context: .
dockerfile: Dockerfile
args:
- USERBOTINDO_ACCESS_TOKEN=${USERBOTINDO_ACCESS_TOKEN}
ports:
- 8000:8000
env_file:
- config.env
restart: unless-stopped
# # Uncomment the following lines to use a local MongoDB database
# # aware that some feature will not work as Riakmaw expect a MongoDB that support ReplicaSet!
# # This lines bellow only uses a single MongoDB instance for simplicity
# # Change it to your needs if you want to convert it to a ReplicaSet
# depends_on:
# - mongo
# environment:
# DB_URI: "mongodb://Riakmaw:mypasswd@mongo"
# mongo:
# image: "mongo:latest"
# container_name: RiakmawMongo
# volumes:
# - "mongo_Riakmaw:/data/db"
# environment:
# MONGO_INITDB_ROOT_USERNAME: Riakmaw
# MONGO_INITDB_ROOT_PASSWORD: mypasswd
# volumes:
# mongo_Riakmaw: