added env variables for correct services start.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
79322cc9dc
commit
7531dd93df
@ -1,5 +1,3 @@
|
|||||||
version: "3"
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
nocr-telegram-client:
|
nocr-telegram-client:
|
||||||
container_name: nocr-telegram-client
|
container_name: nocr-telegram-client
|
||||||
@ -11,6 +9,10 @@ services:
|
|||||||
- 4999:8080
|
- 4999:8080
|
||||||
environment:
|
environment:
|
||||||
ASPNETCORE_ENVIRONMENT: DockerCompose
|
ASPNETCORE_ENVIRONMENT: DockerCompose
|
||||||
|
TelegramBotOptions__Token: ${TelegramBotOptions__Token}
|
||||||
|
AdministrationOptions__FeedbackReceiverIds: ${AdministrationOptions__FeedbackReceiverIds}
|
||||||
|
AdministrationOptions__UpdateReceiverIds: ${AdministrationOptions__UpdateReceiverIds}
|
||||||
|
|
||||||
depends_on:
|
depends_on:
|
||||||
nocr-rabbitmq:
|
nocr-rabbitmq:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
@ -62,6 +64,9 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
ASPNETCORE_ENVIRONMENT: DockerCompose
|
ASPNETCORE_ENVIRONMENT: DockerCompose
|
||||||
session_pathname: '/app/WTelegram.session'
|
session_pathname: '/app/WTelegram.session'
|
||||||
|
WTelegramClientOptions__ApiHash: ${WTelegramClientOptions__ApiHash}
|
||||||
|
WTelegramClientOptions__ApiId: ${WTelegramClientOptions__ApiId}
|
||||||
|
WTelegramClientOptions__PhoneNumber: ${WTelegramClientOptions__PhoneNumber}
|
||||||
volumes:
|
volumes:
|
||||||
- ./WTelegram.session:/app/WTelegram.session
|
- ./WTelegram.session:/app/WTelegram.session
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user