-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yaml
43 lines (39 loc) · 1.23 KB
/
docker-compose.yaml
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
version: "3.10"
services:
api:
build: .
command: [ "python", "github_tracker_bot/bot.py" ]
environment:
- DISCORD_TOKEN=your_discord_token
- GITHUB_TOKEN=your_github_token
- GOOGLE_SHEETS_CREDENTIALS=path_to_your_google_sheets_credentials.json
- LOG_LEVEL=DEBUG
- MONGO_COLLECTION=example_collection
- MONGO_DB=example_db
- MONGO_HOST=mongodb://mongodb:27017/
- OPENAI_API_KEY=your_openai_api_key
- SHARED_SECRET=shared_secret
- SPREADSHEET_ID=spread_sheet_id
bot:
build: .
command: [ "python", "leader_bot/bot.py" ]
environment:
- DISCORD_TOKEN=your_discord_token
- GMAIL_ADDRESS=gmail_address
- GOOGLE_SHEETS_CREDENTIALS=path_to_your_google_sheets_credentials.json
- GTP_ENDPOINT=gtp_endpoint
- GUILD_ID=guild_id
- LEADERBOARD_FORUM_CHANNEL_ID=leaderboard_forum_channel_id
- LOG_LEVEL=DEBUG
- MONGO_COLLECTION=example_collection
- MONGO_DB=example_db
- MONGO_HOST=mongodb://mongodb:27017/
- OPENAI_API_KEY=your_openai_api_key
- SHARED_SECRET=shared_secret
- SPREADSHEET_ID=spread_sheet_id
mongodb:
image: mongo:latest
volumes:
- mongo_data:/data/db
volumes:
mongo_data: