{"id":21567396,"url":"https://github.com/amineo/adonis4-docker","last_synced_at":"2026-04-19T19:06:08.192Z","repository":{"id":49251065,"uuid":"248577062","full_name":"amineo/adonis4-docker","owner":"amineo","description":"Containerized Adonis4 + PM2 for simplicity, portability and development flexibility.","archived":false,"fork":false,"pushed_at":"2022-12-06T16:32:30.000Z","size":263,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-18T05:43:44.467Z","etag":null,"topics":["adonisjs","docker","docker-compose","nodejs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/amineo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-03-19T18:31:49.000Z","updated_at":"2021-05-11T17:24:14.000Z","dependencies_parsed_at":"2023-01-24T04:45:18.890Z","dependency_job_id":null,"html_url":"https://github.com/amineo/adonis4-docker","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/amineo/adonis4-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amineo%2Fadonis4-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amineo%2Fadonis4-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amineo%2Fadonis4-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amineo%2Fadonis4-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amineo","download_url":"https://codeload.github.com/amineo/adonis4-docker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amineo%2Fadonis4-docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32018771,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["adonisjs","docker","docker-compose","nodejs"],"created_at":"2024-11-24T10:30:15.412Z","updated_at":"2026-04-19T19:06:08.169Z","avatar_url":"https://github.com/amineo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Adonis 4 + Docker + PM2\n\n## About\nContainerized AdonisJS + PM2 for portability and development flexibility.\nThis project aims to keep an organized and reusable file structure. \n\n---\n\n## Getting Started / Running\nThe first thing you need to do is generate an `APP_KEY` by simply  running `./generate-adonis-app-key.sh`\nThis will create a file containing the key that Adonis uses for encryption.\n\n### Local Dev\nAfter you have the `adonis.appkey.v1` file created, you can then run `docker-compose up`   \nThe `docker-compose.override.yml` is automatically picked up and is used or local dev.\n\n**In local development, the Adonis app will automatically reload.**\n\n\n### Example Deployment\nDeploying this example into Docker Swarm, you would use something like:   \n```docker stack deploy -c docker-compose.yml adonis```   \n\nWhere `docker-compose.override.yml` would **not** get picked up.\n\n---\n\n## Some Opinions \n- Dockerfiles and related container artifacts don't belong in your app's root folder.\n- Use docker-compose.override.yml for local development\n\n---\n\n## Structure\n\n```\n|-[app]\n|---[myapp]\n|-----...the-adonis-app-files\n\n|-[build]\n|---[myapp]\n|-----...Dockerfile\n\n|-docker-secrets\n|---adonis.appkey.v1\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famineo%2Fadonis4-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famineo%2Fadonis4-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famineo%2Fadonis4-docker/lists"}