-
Notifications
You must be signed in to change notification settings - Fork 17
/
docker-compose.yml
30 lines (29 loc) · 989 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
version: "3.8"
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
PAGE_ENTRIES: 20 # Items per page
LANGUAGE: "en" # The name of your file from the l10n folder without the .json suffix
MULTIBOT: "false" # Allows the use of a multibot
ports:
- "4040:4040"
- "5000:5000" # ${WEBAPP_PORT}:${WEBAPP_PORT}
expose:
- 4040
- 5000 # ${WEBAPP_PORT}
volumes:
- /AiogramShopBot:/bot/data
command: ["python", "-u", "run.py"]
volumes:
AiogramShopBot: