-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathdocker-compose.yml
34 lines (32 loc) · 1.22 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
services:
bot:
build:
context: .
container_name: 'AiogramShopBot'
environment:
WEBHOOK_PATH: "/"
WEBAPP_HOST: "0.0.0.0" # Don't touch this
WEBAPP_PORT: 5000 # Here your port
TOKEN: "1234567890:QWER.....TYI" # Here your bot token from botfather
NGROK_TOKEN: 'NGROK_TOKEN_HERE' # Here your ngrok token from ngrok.com
ADMIN_ID_LIST: "12345678,87654321" # Telegram ID's for admins;
SUPPORT_LINK: "https://t.me/YourUsername"
DB_NAME: "database.db" # Here your database name
DB_ENCRYPTION: "false" # DB encryption option
DB_PASS: "1234567890" # Here your database password (Required only if DB_ENCRYPTION-"true”)
PAGE_ENTRIES: 8 # Items per page
BOT_LANGUAGE: "en" # The name of your file from the l10n folder without the .json suffix
MULTIBOT: "false" # Allows the use of a multibot
ETHPLORER_API_KEY: "" # API key from Ethplorer
CURRENCY: "USD" # fiat currency
ports:
- "4040:4040"
- "5000:5000" # ${WEBAPP_PORT}:${WEBAPP_PORT}
expose:
- 4040
- 5000 # ${WEBAPP_PORT}
volumes:
- ./AiogramShopBot:/bot/data # endswith your database name
command: ["python", "-u", "run.py"]
volumes:
AiogramShopBot: