Skip to content
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

Copy mprove/.env.example file to mprove/.env file #102

Open
shaounak opened this issue May 20, 2023 · 2 comments
Open

Copy mprove/.env.example file to mprove/.env file #102

shaounak opened this issue May 20, 2023 · 2 comments

Comments

@shaounak
Copy link

Before the copy step, there should be a step to create the .env directory in the root folder. But even after following the README file and creating the .env directory and then copying the file to the .env file, the code is giving the error -


WARNING: The COMPOSE_DB_MYSQL_ROOT_PASSWORD variable is not set. Defaulting to a blank string.
WARNING: The COMPOSE_DB_MYSQL_DATABASE variable is not set. Defaulting to a blank string.
WARNING: The COMPOSE_DB_VOLUME_SOURCE_PATH variable is not set. Defaulting to a blank string.
WARNING: The COMPOSE_RABBITMQ_DEFAULT_USER variable is not set. Defaulting to a blank string.
WARNING: The COMPOSE_RABBITMQ_DEFAULT_PASS variable is not set. Defaulting to a blank string.
WARNING: The COMPOSE_RABBITMQ_ERLANG_COOKIE variable is not set. Defaulting to a blank string.
WARNING: The MPROVE_RELEASE_TAG variable is not set. Defaulting to a blank string.
WARNING: The ENV_FILE_PATH variable is not set. Defaulting to a blank string.
WARNING: The ENV_FILE_SOURCE_PATH variable is not set. Defaulting to a blank string.
WARNING: The ENV_FILE_TARGET_PATH variable is not set. Defaulting to a blank string.
WARNING: The COMPOSE_DISK_ORGANIZATIONS_VOLUME_SOURCE_PATH variable is not set. Defaulting to a blank string.
WARNING: The COMPOSE_DISK_ORGANIZATIONS_VOLUME_PATH variable is not set. Defaulting to a blank string.
WARNING: The COMPOSE_BACKEND_FIRST_PROJECT_BIGQUERY_CREDENTIALS_SOURCE_PATH variable is not set. Defaulting to a blank string.
WARNING: The COMPOSE_BACKEND_FIRST_PROJECT_BIGQUERY_CREDENTIALS_PATH variable is not set. Defaulting to a blank string.
WARNING: The COMPOSE_BACKEND_FIRST_PROJECT_REMOTE_PRIVATE_KEY_SOURCE_PATH variable is not set. Defaulting to a blank string.
WARNING: The COMPOSE_BACKEND_FIRST_PROJECT_REMOTE_PRIVATE_KEY_PATH variable is not set. Defaulting to a blank string.
WARNING: The COMPOSE_BACKEND_FIRST_PROJECT_REMOTE_PUBLIC_KEY_SOURCE_PATH variable is not set. Defaulting to a blank string.
WARNING: The COMPOSE_BACKEND_FIRST_PROJECT_REMOTE_PUBLIC_KEY_PATH variable is not set. Defaulting to a blank string.
WARNING: The COMPOSE_DWH_POSTGRES_PASSWORD variable is not set. Defaulting to a blank string.
WARNING: The COMPOSE_DWH_POSTGRES_PGDATA variable is not set. Defaulting to a blank string.
WARNING: The COMPOSE_DWH_POSTGRES_VOLUME_SOURCE_PATH variable is not set. Defaulting to a blank string.
WARNING: The COMPOSE_DWH_CLICKHOUSE_USER variable is not set. Defaulting to a blank string.
WARNING: The COMPOSE_DWH_CLICKHOUSE_PASSWORD variable is not set. Defaulting to a blank string.
WARNING: The COMPOSE_DWH_CLICKHOUSE_DB variable is not set. Defaulting to a blank string.
WARNING: The COMPOSE_DWH_CLICKHOUSE_VOLUME_SOURCE_PATH variable is not set. Defaulting to a blank string.
WARNING: The COMPOSE_DWH_CLICKHOUSE_LOGS_VOLUME_SOURCE_PATH variable is not set. Defaulting to a blank string.
WARNING: The COMPOSE_X11_BRIDGE_SOURCE_PATH variable is not set. Defaulting to a blank string.
WARNING: The COMPOSE_X11_BRIDGE_MODE variable is not set. Defaulting to a blank string.
WARNING: The COMPOSE_X11_BRIDGE_DISPLAY variable is not set. Defaulting to a blank string.
WARNING: The COMPOSE_X11_BRIDGE_XPRA_HTML variable is not set. Defaulting to a blank string.
WARNING: The COMPOSE_X11_BRIDGE_XPRA_TCP_PORT variable is not set. Defaulting to a blank string.
WARNING: The COMPOSE_X11_BRIDGE_XPRA_PASSWORD variable is not set. Defaulting to a blank string.
ERROR: The Compose file './docker-compose.yml' is invalid because:
services.backend-scheduler.volumes value [{'type': 'bind', 'source': '', 'target': ''}, {'type': 'bind', 'source': '', 'target': ''}, {'type': 'bind', 'source': '', 'target': ''}, {'type': 'bind', 'source': '', 'target': ''}] has non-unique elements
services.mcli.volumes value [{'type': 'bind', 'source': '', 'target': ''}, {'type': 'bind', 'source': '', 'target': ''}, {'type': 'bind', 'source': '', 'target': ''}] has non-unique elements
services.backend.volumes value [{'type': 'bind', 'source': '', 'target': ''}, {'type': 'bind', 'source': '', 'target': ''}] has non-unique elements
services.disk.volumes value [{'type': 'bind', 'source': '', 'target': ''}, {'type': 'bind', 'source': '', 'target': ''}] has non-unique elements


@akalitenya
Copy link
Contributor

akalitenya commented May 20, 2023

Before the copy step, there should be a step to create the .env directory in the root folder

If you run "docker-compose up" from repo folder "~/mprove/", then it reads .env file from the same folder (no need to create .env folder)

@shaounak
Copy link
Author

Oh Thanks, I get that, But if you just execute the steps from the ReadMe.md file in a vanilla codespace environment it fails at the docker-compose up command.

docker-compose up db dwh-postgres dwh-clickhouse rabbit backend backend-scheduler blockml-single disk front

Note: I haven't made any changes to any environment variables.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants