fix tg config so it passes all required arguments
This commit is contained in:
parent
54e8158375
commit
c3bea2890a
1 changed files with 3 additions and 1 deletions
|
|
@ -36,9 +36,11 @@ spec:
|
||||||
key: BOT_API_HASH
|
key: BOT_API_HASH
|
||||||
- name: HTTP_PORT
|
- name: HTTP_PORT
|
||||||
value: "8081"
|
value: "8081"
|
||||||
|
command: ["/app/telegram-bot-api"]
|
||||||
|
args: ["--api-id=$(API_ID)", "--api-hash=$(API_HASH)", "--local", "--http-port=$(HTTP_PORT)", "--dir=/var/lib/telegram-bot-api"]
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: tg-data
|
- name: tg-data
|
||||||
mountPath: /app
|
mountPath: /var/lib/telegram-bot-api
|
||||||
volumeClaimTemplates:
|
volumeClaimTemplates:
|
||||||
- metadata:
|
- metadata:
|
||||||
name: tg-data
|
name: tg-data
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue