{"id":21178736,"url":"https://github.com/poabob/adapt-docker","last_synced_at":"2025-10-19T13:03:41.193Z","repository":{"id":102352311,"uuid":"451497759","full_name":"POABOB/Adapt-docker","owner":"POABOB","description":null,"archived":false,"fork":false,"pushed_at":"2022-01-27T07:26:59.000Z","size":6,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-21T11:45:15.903Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/POABOB.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":"2022-01-24T14:30:06.000Z","updated_at":"2024-01-25T23:04:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"1b5ca9de-f6dc-49cc-b192-7ac59f645311","html_url":"https://github.com/POABOB/Adapt-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/POABOB%2FAdapt-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/POABOB%2FAdapt-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/POABOB%2FAdapt-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/POABOB%2FAdapt-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/POABOB","download_url":"https://codeload.github.com/POABOB/Adapt-docker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243629222,"owners_count":20322017,"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-11-20T17:23:48.482Z","updated_at":"2025-10-19T13:03:36.131Z","avatar_url":"https://github.com/POABOB.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# docker-adaptauthoring\n\n![Docker Cloud Build Status](https://img.shields.io/docker/cloud/build/3wordchant/adaptauthoring)\n\nDocker configuration for the [Adapt Authoring tool](https://github.com/adaptlearning/adapt_authoring): create SCORM-compatible training.\n\n## Getting started\n\nBecause Adapt requires a database to run, the easiest way to get started is to use `docker-compose` to set up Adapt and MongoDB automatically.\n\nFetch the example `docker-compose.yml`:\n\n    wget https://github.com/3-w-c/docker-adaptauthoring/blob/master/docker-compose.yml\n\nEdit the variables under `services.app.environment`, then push the button!\n\n    docker-compose up\n\n## Configuration\n\n### Environment variables\n\nYou can configure Adapt's initial set-up using these variables:\n\n- `DOMAIN` - hostname for the Adapt service\n- `PORT` (default `5000`) - TCP port for the Adapt service\n- `DB_HOST` - MongoDB server hostname\n- `DB_USER` - MongoDB username\n- `DB_NAME` - MongoDB database name\n- `SESSION_SECRET` - HTTP session secret key (set to something random)\n- `ADMIN_EMAIL` - email address for the default superuser account\n- `ADMIN_PASSWORD` - password for the default superuser account\n- `FROM_EMAIL` - `From:` email address for notifications\n\n(If you edit these settings after set-up, you'll need to manually edit\n`/adapt_authoring/conf/config.json` with the new values as well)\n\n### Docker secrets\n\nAs well as environment variables, you can also load `SESSION_SECRET` and\n`ADMIN_PASSWORD` from files, which is helpful if you want to keep secret data in\n[Docker swarm mode secrets](https://docs.docker.com/engine/swarm/secrets).\n\nSimply set `SESSION_SECRET_FILE` / `ADMIN_PASSWORD_FILE`.\n\n## Clean Up\n\n### To remove containers\n\n```\ndocker-compose down\n```\n\n### To remove data (courses)\n\nThis will delete your hard work.\n\n```\ndocker volume rm dockeradaptauthoring_adaptdb\ndocker volume rm dockeradaptauthoring_adaptdata\n```\n\n## Backup\n\nCreate local archives of both the `adapt_authoring` folder and database:\n\n     docker run -it -w /backup -v dockeradaptauthoring_adaptdb:/adaptdb \\\n       -v $(pwd)/backup:/backup dockeradaptauthoring_authoring \\\n       bash -c \"tar -czvf adaptdata_`date +\"%Y-%m-%d_%H-%M-%S\"`.tar.gz /adapt_authoring \u0026\u0026 tar -czvf adaptdb_`date +\"%Y-%m-%d_%H-%M-%S\"`.tar.gz /adaptdb\"\n\n## Deployment\n\n### Docker Swarm\n\nSee [`coop-cloud/adapt_authoring`] for an example Docker \"swarm mode\"\nconfiguration, including secrets, SSL reverse proxy, and continuous integration\ntests of the stack deployment.\n\n## Troubleshooting\n\n - If you run the installer script many times in quick succession, you might get\n   rate-limited by Github (the script checks Github for the latest Adapt\n   Authoring version, and to clone the Authoring Framework and plug-ins). Wait\n   an hour, or use a VPN.\n - `node upgrade` doesn't work, because code is downloaded as a ZIP archive\n    instead of using a `git clone`\n\n[`coop-cloud/adapt_authoring`]: https://git.autonomic.zone/coop-cloud/adapt_authoring/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpoabob%2Fadapt-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpoabob%2Fadapt-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpoabob%2Fadapt-docker/lists"}