-
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
24 lines (23 loc) · 898 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
24 lines (23 loc) · 898 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
version: '3'
services:
tageveryone_telegrambot:
image: matt0550/tageveryone_telegrambot
environment:
- token=TG_TOKEN
- owner_id=TG_OWNER_ID
- enable_webapp_server=True # For the telegram webapp.
- webserver_debug=False
- report_errors_owner=True # Report errors to the owner.
- secret_key=SECRET_KEY # Random string
- sentry_dsn=SECRET_SENTRY_DSN
- webhook_mode=True
- webhook_url_base=https://url-to-your-webhook.com/
- webhook_port=8443
- PUID=1000 # UID of the user inside the container, make sure it has access to the database file
- PGID=1000 # GID of the user inside the container, make sure it has access to the database file
ports:
- 5040:5000
- 443:8443 # For the webhook mode, if enabled
volumes:
- /volume1/docker/tg/:/home/src/db/input/
restart: unless-stopped