{"id":23158725,"url":"https://github.com/greendelta/lca-collaboration-server-docker","last_synced_at":"2025-07-21T18:32:17.844Z","repository":{"id":189164737,"uuid":"680132977","full_name":"GreenDelta/lca-collaboration-server-docker","owner":"GreenDelta","description":"Docker file for building an image for the LCA Collaboration Server ","archived":false,"fork":false,"pushed_at":"2024-12-11T17:04:13.000Z","size":71,"stargazers_count":2,"open_issues_count":0,"forks_count":4,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-02-10T03:46:17.968Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GreenDelta.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-18T12:23:08.000Z","updated_at":"2024-12-20T23:41:32.000Z","dependencies_parsed_at":"2024-11-21T13:20:05.119Z","dependency_job_id":"d41756c2-d295-439a-b4a6-c90fa3a3761c","html_url":"https://github.com/GreenDelta/lca-collaboration-server-docker","commit_stats":{"total_commits":10,"total_committers":2,"mean_commits":5.0,"dds":0.5,"last_synced_commit":"02d1eed76663b367eb8eabeed3fc2e77ed7e15f3"},"previous_names":["greendelta/lca-collaboration-server-docker"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GreenDelta%2Flca-collaboration-server-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GreenDelta%2Flca-collaboration-server-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GreenDelta%2Flca-collaboration-server-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GreenDelta%2Flca-collaboration-server-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GreenDelta","download_url":"https://codeload.github.com/GreenDelta/lca-collaboration-server-docker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247234840,"owners_count":20905852,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-17T22:27:17.752Z","updated_at":"2025-07-21T18:32:17.830Z","avatar_url":"https://github.com/GreenDelta.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Example Docker setup for the LCA Collaboration Server\n\nThis repository contains a setup for running the [LCA Collaboration Server](https://www.openlca.org/collaboration-server/) in a Docker container.\n\n## Requirements\n\nTo run this setup, you need Docker and Docker Compose:\n\n- [Docker](https://docs.docker.com/get-docker/)\n- [Docker Compose](https://docs.docker.com/compose/)\n\n## Environment variables\n\nThe setup will use environment variables. These can be set in a file named `.env`. The environment variables will be automatically loaded by the Docker Compose setup.\n\n```bash\n# Please fill in the following environment variables in this file\nMYSQL_DATABASE=\u003cplease_fill_in\u003e\nMYSQL_USER=\u003cplease_fill_in\u003e\nMYSQL_PASSWORD=\u003cplease_fill_in\u003e\nMYSQL_ROOT_PASSWORD=\u003cplease_fill_in\u003e\nOPENSEARCH_INITIAL_ADMIN_PASSWORD=\u003cplease_fill_in\u003e\nSERVER_URL=\u003cplease_fill_in\u003e  # optional\n```\n\n## Running the LCA Collaboration Server with Docker compose\n\nYou can start the collaboration server by executing the following command:\n\n```bash\ncd lca-collaboration-server-docker\ndocker compose up\n```\n\n\u003e **_NOTE:_**  When modifying the `.env` file, you need to re-run the Docker\nCompose command with the `--force-recreate` flag:\n\n```bash\ndocker compose up --force-recreate\n```\n\nIt will fetch images for the LCA Collaboration Server (from registry.greendelta.com), MySQL and OpenSearch. Then it starts containers for these images in interactive mode.\n\nThe setup will use two volumes (`db` and `server`) for storing data. These volumes are created if they do not exist yet:\n\n```bash\n$ docker volume ls\nDRIVER    VOLUME NAME\nlocal     lcacollab-db\nlocal     lcacollab-server\n```\n\n### Setting up the server\n\nThe collaboration server will run on port `8080`, thus http://localhost:8080\nwill bring you to the login page of the collaboration server. The initial\nadmin credentials should be changed, see also the [configuration guide](https://www.openlca.org/lca-collaboration-server-2-configuration-guide/).\n\n| Username        | Password            |\n| --------------- | ------------------- |\n| `administrator` | `Plea5eCh@ngeMe`    |\n\n\nFor using OpenSearch, you will need to stop and restart the containers (without\nthe `--force-recreate` flag!).\nThen, re-index the repositories in `/administration/overview`. You can click on\n`Run test search` in `/administration/settings` to verify that OpenSearch is\nworking.\n\n## Running in read-only mode with external MySQL Server\n\nThe container can be run with the following command (the MySQL server must be up and running):\n\n```bash\ndocker compose -f compose.read-only.yaml up\n```\n\nIf you want to run the containers in background instead, just add the `-d` flag to the command.\n\nThe setup will use a single volume (`server`) for storing data. This volume is created if it does not exist yet:\n\n```bash\n$ docker volume ls\nDRIVER    VOLUME NAME\nlocal     lcacollab-server\n```\n\n## Run a stand alone MySQL container\n\nFor testing purposes, a MySQL container with different host name and port can be run with the following command:\n\n```bash\ndocker compose -f compose.mysql.yaml up\n```\n\nThe database schema is initialized at start.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgreendelta%2Flca-collaboration-server-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgreendelta%2Flca-collaboration-server-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgreendelta%2Flca-collaboration-server-docker/lists"}