-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues with deploying using docker compose #120
Comments
@l3lack-eyes You sure that you've filled out the env vars? If possible, can you share the logs? |
yes vars are filled . how to see logs? |
docker-compose.yml version: "3.8"
services:
fsb:
build: .
restart: unless-stopped
container_name: fsb
environment:
# required
- API_ID=28077### # change this to your ID
- API_HASH=e84821a2cb2###eba1b8334947ca### # change this to your HASH
- BOT_TOKEN=6###6958:AAEowfXEFUkPdIA51##DEQql-bN75ZE_FE # enter you> - BIN_CHANNEL=-1001##5193##6 # paste channel ID
ports:
- 127.0.0.1:8000:8000
volumes:
- $HOME/TG-FileStreamBot:/app/.env |
Added Bot as Admin in Bin Channel? |
oh . I did it now and it's working . thanks D: |
the given link are like this http://0.0.0.0:8080/f65b9d4 why it is not my server's ip address and myselected port was 8000 which in the link is 8080 |
Set the |
version: "3.8"
services:
fsb:
build: .
restart: unless-stopped
container_name: fsb
environment:
# required
- API_ID=28077### # change this to your ID
- API_HASH=e84821a2cb2###eba1b8334947ca### # change this to your HASH
- BOT_TOKEN=6##https://github.com/EverythingSuckz/TG-FileStreamBot/pull/6958:AAEowfXEFUkPdIA51##DEQql-bN75ZE_FE # enter you> - BIN_CHANNEL=-1001##5193##6 # paste channel ID
ports:
- 127.0.0.1:8000:8000
volumes:
- $HOME/TG-FileStreamBot:/app/.env
- PORT=8000
- FQDN=##.###ivr.link is this right?it didn't work for me . port 8000 is open |
No the configuration is wrong. version: "3.8"
services:
fsb:
build: .
restart: unless-stopped
container_name: fsb
environment:
- API_ID=28077XXXX
- API_HASH=e84821a2cb2XXXXXXXXXX
- BOT_TOKEN=XXXXXXX
- BIN_CHANNEL=-100XXXXXXXX
- PORT = 8000
- FQDN = 192.165.15.1 #(Your server IP or domain without protocol)
ports:
- 127.0.0.1:8000:8000 |
Still the same issue. Can you send this configuration with same indents of code? |
Let me try deploying it on a docker and I'll see for myself. Please wait till then. |
Thanks |
Hello again . Have you checked the service ? |
hello .
i've deployed bot recently using docker compose and it responds to my /start bot not linking my files.
The text was updated successfully, but these errors were encountered: