Problems with EC2 deployment - Docker can't find variables #2127
Unanswered
samucamaravilha
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I followed the Flowise AWS tutorial exactly as it should, but when I run the docker-compose up -d command on my EC2 instance, this error shows up:
[ec2-user@ip-172-31-20-46 docker]$ docker-compose up -d
WARNING: The CORS_ORIGINS variable is not set. Defaulting to a blank string.
WARNING: The IFRAME_ORIGINS variable is not set. Defaulting to a blank string.
WARNING: The FLOWISE_FILE_SIZE_LIMIT variable is not set. Defaulting to a blank string.
WARNING: The DEBUG variable is not set. Defaulting to a blank string.
WARNING: The DATABASE_TYPE variable is not set. Defaulting to a blank string.
WARNING: The DATABASE_PORT variable is not set. Defaulting to a blank string.
WARNING: The DATABASE_HOST variable is not set. Defaulting to a blank string.
WARNING: The DATABASE_NAME variable is not set. Defaulting to a blank string.
WARNING: The DATABASE_USER variable is not set. Defaulting to a blank string.
WARNING: The DATABASE_PASSWORD variable is not set. Defaulting to a blank string.
WARNING: The DATABASE_SSL variable is not set. Defaulting to a blank string.
WARNING: The DATABASE_SSL_KEY_BASE64 variable is not set. Defaulting to a blank string.
WARNING: The FLOWISE_SECRETKEY_OVERWRITE variable is not set. Defaulting to a blank string.
WARNING: The LOG_LEVEL variable is not set. Defaulting to a blank string.
WARNING: The DISABLE_FLOWISE_TELEMETRY variable is not set. Defaulting to a blank string.
Traceback (most recent call last):
File "/home/ec2-user/.local/bin/docker-compose", line 8, in
sys.exit(main())
File "/home/ec2-user/.local/lib/python3.9/site-packages/compose/cli/main.py", line 81, in main
command_func()
File "/home/ec2-user/.local/lib/python3.9/site-packages/compose/cli/main.py", line 200, in perform_command
project = project_from_options('.', options)
File "/home/ec2-user/.local/lib/python3.9/site-packages/compose/cli/command.py", line 60, in project_from_options
return get_project(
File "/home/ec2-user/.local/lib/python3.9/site-packages/compose/cli/command.py", line 152, in get_project
client = get_client(
File "/home/ec2-user/.local/lib/python3.9/site-packages/compose/cli/docker_client.py", line 41, in get_client
client = docker_client(
File "/home/ec2-user/.local/lib/python3.9/site-packages/compose/cli/docker_client.py", line 124, in docker_client
kwargs = kwargs_from_env(environment=environment, ssl_version=tls_version)
TypeError: kwargs_from_env() got an unexpected keyword argument 'ssl_version'
Is the tutorial missing somthing or am I doing something wrong? Here are the .env variables:

Beta Was this translation helpful? Give feedback.
All reactions