{"id":28433027,"url":"https://github.com/decidim/docker","last_synced_at":"2025-07-01T11:30:57.755Z","repository":{"id":27060107,"uuid":"110813491","full_name":"decidim/docker","owner":"decidim","description":"Docker images for decidim","archived":false,"fork":false,"pushed_at":"2024-10-07T06:55:18.000Z","size":183,"stargazers_count":14,"open_issues_count":16,"forks_count":20,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-06-11T15:35:39.952Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://decidim.org","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/decidim.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":"2017-11-15T09:34:39.000Z","updated_at":"2025-04-24T16:38:05.000Z","dependencies_parsed_at":"2023-02-18T12:19:30.139Z","dependency_job_id":"d4d8ed2e-4c70-470f-928c-5dd9cd13cc52","html_url":"https://github.com/decidim/docker","commit_stats":{"total_commits":191,"total_committers":15,"mean_commits":"12.733333333333333","dds":0.6963350785340314,"last_synced_commit":"cdddb8c1f64e0766114addb59cf7e1801179f756"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/decidim/docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/decidim%2Fdocker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/decidim%2Fdocker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/decidim%2Fdocker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/decidim%2Fdocker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/decidim","download_url":"https://codeload.github.com/decidim/docker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/decidim%2Fdocker/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260943793,"owners_count":23086663,"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":"2025-06-05T17:36:43.488Z","updated_at":"2025-07-01T11:30:57.742Z","avatar_url":"https://github.com/decidim.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker images for Decidim \n\nImages are mirrored on [Docker Hub](https://hub.docker.com/u/decidim) and [Github Container Registry](https://github.com/orgs/decidim/packages).\n\n**Image naming has changed recently.**\n\nWe now use different names for images with different purposes, while previously we were using tagging to distinguish between them. CIs and scripts will need to be updated accordingly on updates after v0.23.1.\n\n**Biggest naming change:** \n\nThe app generator gem used to be called `decidim` and is now called `decidim-generator`. There's now a new `decidim` image for a fully functioning generated Decidim app.\n\nHere's the complete list of images and their purposes:\n\n## Images available\n\n### decidim\n\nDecidim app pre-generated with core modules.\n\nTagged as `decidim:latest` or `decidim:\u003cversion\u003e` (eg: `decidim:0.23.1`). \n\n### decidim-generator\n\nThe [decidim gem](https://rubygems.org/gems/decidim) with all necessary environment for running it.\n\nTagged as `decidim-generator:latest` or `decidim-generator:\u003cversion\u003e` (eg: `decidim-generator:0.23.1`).\n\n### decidim-test\n\nThe above gem environment plus tooling for testing.\n\nTagged `decidim-test:latest` or `decidim-test:\u003cversion\u003e` (eg: `decidim-test:0.23.1`).\n\n### decidim-dev\n\nThe above plus more configuration for running local dev environment.\n\nTagged `decidim-dev:latest` or `decidim-dev:\u003cversion\u003e` (eg: `decidim-dev:0.23.1`).\n\n## Hello World with docker-compose\n\nThis repo includes a [docker-compose.yml](docker-compose.yml) file with:\n\n- a Decidim service (using the `decidim:latest` image)\n- a Postgres service\n- a Redis service\n\nBy cloning the repo and then running `docker-compose up`, you'll get a fully functional Decidim app complete with seed data, accessible at http://localhost:3000.\n\n```bash\ngit clone git@github.com:decidim/docker.git decidim-docker\ncd decidim-docker\ndocker-compose up\n```\nIt'll take a couple of minutes to run through all migrations and seeds. At the end you should see:\n\n```\n(...lots of migrating and seeding...)\ndecidim_1  | Puma starting in single mode...\ndecidim_1  | * Version 4.3.5 (ruby 2.6.6-p146), codename: Mysterious Traveller\ndecidim_1  | * Min threads: 5, max threads: 5\ndecidim_1  | * Environment: development\ndecidim_1  | * Listening on tcp://0.0.0.0:3000\ndecidim_1  | Use Ctrl-C to stop\n```\n\nNote: in case you run into SSL redirection errors, opening it on an incognito window usually solves the problem.\n\n## Using the decidim app image individually\n\n### Locally, with running local database\n\n```bash\ndocker run -it --rm \\\n  -e DATABASE_USERNAME=postgres \\\n  -e DATABASE_PASSWORD=postgres \\\n  -e RAILS_ENV=development \\\n  -p 3000:3000 \\\n  ghcr.io/decidim/decidim:latest\n```\n\n### In production\n\n```bash\ndocker run -it --rm \\\n  -e DATABASE_URL=\"postgres://user:pass@postgres-host/decidim-production-db\" \\\n  -p 3000:3000 \\\n  ghcr.io/decidim/decidim:latest\n```\n\n## Using the decidim-generator image\n\nWith this image you can generate a new Decidim application:\n\n```bash\nAPP_NAME=HelloWorld\nIMAGE=ghcr.io/decidim/decidim-generator:latest\ndocker run -it -v \"$(pwd):/code\" ${IMAGE} decidim ${APP_NAME}\nsudo chown -R $(whoami): ${APP_NAME}\n```\n\nFrom here on you can follow the steps on the [Getting Started](https://docs.decidim.org/en/install/) guide.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdecidim%2Fdocker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdecidim%2Fdocker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdecidim%2Fdocker/lists"}