Sorok-Dva / freenom-auto-renew-domains

A scraper built with puppeteer that auto renew free domains on Freenom and send discord message using bot
50 stars 20 forks source link

Error on start #21

Closed abramovantonru closed 1 year ago

abramovantonru commented 2 years ago

Start tool with docker-compose by docker-compose up -d

and get error -> image

if remove from docker-compose.yml property build.target = dev get error -> image

Sorok-Dva commented 2 years ago

Hi.

Did you try using make command ? You should use :

make .env
make
make start

image

abramovantonru commented 2 years ago

Sorry, i'm not use make.

I try use and get this ->

image

in .env var DISCORD_TOKEN is set

Sorok-Dva commented 1 year ago

Ok my bad there was a mistake in the .env file.

The env var is DISCORD_BOT_TOKEN instead of BOT_TOKEN or DISCORD_TOKEN

abramovantonru commented 1 year ago

okay, works