forked from bostrot/telegram-support-bot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
45 lines (41 loc) · 1.04 KB
/
docker-compose.yml
File metadata and controls
45 lines (41 loc) · 1.04 KB
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
services:
supportbot:
build: .
restart: unless-stopped
volumes:
- ./config:/bot/config
ports:
- "8080:8080"
environment:
- MONGO_URI=mongodb://mongodb:27017/support
mongodb:
image: mongo:8.0
restart: unless-stopped
ports:
- "27017:27017"
volumes:
- ./.tmp/mongodb_data:/data/db
signal-cli:
image: bbernhard/signal-cli-rest-api:latest
platform: linux/amd64
environment:
- MODE=json-rpc #supported modes: json-rpc, native, normal
#- AUTO_RECEIVE_SCHEDULE=0 22 * * * #enable this parameter on demand (see description below)
ports:
- "40153:8080"
volumes:
- signal:/home/.local/share/signal-cli
# mongodb web interface
mongo-express:
image: mongo-express
restart: unless-stopped
ports:
- "8081:8081"
environment:
- ME_CONFIG_MONGODB_SERVER=mongodb
- ME_CONFIG_MONGODB_PORT=27017
- ME_CONFIG_BASICAUTH_USERNAME=admin
- ME_CONFIG_BASICAUTH_PASSWORD=password
volumes:
mongodb_data:
signal: