transcrobes
transcrobes copied to clipboard
Instruction not clear for settings the .env
Hey,
I tried to do the docker-compose up -d
command, but the console is returning this error :
ERROR: Missing mandatory value for "deploy" option interpolating {'placement': {'constraints': ['node.labels.${STACK_NAME?Variable not set}.app-db-data == true']}} in service "db": Variable not set
So I then renamed .env.example
to .env
and rerun the commad, but this time I have this error :
WARNING: The SMTP_HOST variable is not set. Defaulting to a blank string.
ERROR: Missing mandatory value for "environment" option interpolating ['SERVER_NAME=${DOMAIN?Variable not set}', 'SERVER_HOST=https://${DOMAIN?Variable not set}', 'SMTP_HOST=${SMTP_HOST?Variable not set}', 'FAUST_PORT=${FAUST_PORT?6066}'] in service "faustworker": Variable not set
What should be done according to the .env ? Is there a guideline somewhere ?
Thanks !