{"id":20135491,"url":"https://github.com/itsmejoeeey/docker-decap-cms-standalone","last_synced_at":"2025-04-09T17:32:45.122Z","repository":{"id":164997290,"uuid":"596533029","full_name":"itsmejoeeey/docker-decap-cms-standalone","owner":"itsmejoeeey","description":"Easy-to-use Docker image to self-host Decap CMS (formerly Netlify CMS).","archived":false,"fork":false,"pushed_at":"2024-01-24T11:14:25.000Z","size":23,"stargazers_count":25,"open_issues_count":1,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-23T19:39:12.503Z","etag":null,"topics":["cms","docker","netlify-cms"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","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/itsmejoeeey.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}},"created_at":"2023-02-02T11:50:55.000Z","updated_at":"2025-03-05T20:53:55.000Z","dependencies_parsed_at":"2023-11-28T11:42:20.357Z","dependency_job_id":"93a8bed4-d007-4aa5-adff-bb7ef638a760","html_url":"https://github.com/itsmejoeeey/docker-decap-cms-standalone","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsmejoeeey%2Fdocker-decap-cms-standalone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsmejoeeey%2Fdocker-decap-cms-standalone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsmejoeeey%2Fdocker-decap-cms-standalone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsmejoeeey%2Fdocker-decap-cms-standalone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itsmejoeeey","download_url":"https://codeload.github.com/itsmejoeeey/docker-decap-cms-standalone/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248077560,"owners_count":21043984,"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":["cms","docker","netlify-cms"],"created_at":"2024-11-13T21:15:11.685Z","updated_at":"2025-04-09T17:32:44.913Z","avatar_url":"https://github.com/itsmejoeeey.png","language":"Dockerfile","funding_links":[],"categories":["Self Hosted"],"sub_categories":[],"readme":"# docker-decap-cms-standalone\n\n\u003e **Note**\n\u003e Formerly `docker-netlify-cms-standalone`. In early 2023 Netlify CMS was rebranded to Decap CMS under new ownership ([see post](https://www.netlify.com/blog/netlify-cms-to-become-decap-cms/)).\n\n\u003cbr /\u003e\n\n\n**Easy-to-use Docker image to self-host Decap CMS (without using Netlify).**\n\n\nIncludes [Decap CMS](https://github.com/decaporg/decap-cms) + [an external authentication provider](https://github.com/vencax/netlify-cms-github-oauth-provider) to allow auth with Github/Gitlab.\n\n_Why use Decap CMS?_\nDecap CMS is a headless CMS that presents a clean UI for editing content (e.g. markdown files) stored in a Git repository. Easy to configure with a YAML config file - a simple and flexible way to add content to any site built with a static site generator.\n\n[View on Docker Hub 🐳](https://hub.docker.com/r/itsmejoeeey/docker-decap-cms-standalone)\n\n---\n\n## Getting started\n\nYou will need Docker installed on your system\n\n### To get started using Github.com\n\n```\ndocker run -d \\\n  -p 80:80 \\\n  -e ORIGINS='\u003cyour root url\u003e' \\\n  -e OAUTH_CLIENT_ID='\u003cyour_github_client_id\u003e' \\\n  -e OAUTH_CLIENT_SECRET='\u003cyour_github_client_secret\u003e' \\\n  -v ./my-local-conf.yml:/app/config.yml:ro \\\n  --name decap-cms \\\n  --restart=always \\\n  itsmejoeeey/docker-decap-cms-standalone:latest\n```\n\nSee also: [\"Supplying a valid `config.yml` file\"](#supplying-a-valid-configyml-file)\n\nEnvironment variables:\n* `ORIGINS`: the root url Decap CMS will be accessible from (i.e. `cms.example.com`). Can contain more than one (comma-separated). Can contain regex (e.g. `.*.example.com`).\n* `OAUTH_CLIENT_ID` and `OAUTH_CLIENT_SECRET`: need to provide from Github (see below).\nAdditionally:\n* `GIT_HOSTNAME`: for enterprise Github installations.\n\n#### Getting `OAUTH_CLIENT_ID` and `OUTH_CLIENT_SECRET`\n\n1. Visit Github and go to `Settings \u003e Developer settings \u003e OAuth Apps`\n2. Create a 'New OAuth App' with:\n    `Homepage URL` = your application homepage (i.e. `https://example.com`)\n    `Authorization callback URL` = `{origin}/callback` (i.e. `https://cms.example.com/callback`)\n\n\n### To get starting using Gitlab.com\n\n```\ndocker run -d \\\n  -p 80:80 \\\n  -e ORIGINS='\u003cyour root url\u003e' \\\n  -e OAUTH_CLIENT_ID='\u003cyour_gitlab_client_id\u003e' \\\n  -e OAUTH_CLIENT_SECRET='\u003cyour_gitlab_client_secret\u003e' \\\n  -e GIT_HOSTNAME='https://gitlab.com' \\\n  -e OAUTH_PROVIDER='gitlab' \\\n  -e SCOPES='api' \\\n  -e OAUTH_AUTHORIZE_PATH='/oauth/authorize' \\\n  -e OAUTH_TOKEN_PATH='/oauth/token' \\\n  -v ./my-local-conf.yml:/app/config.yml:ro \\\n  --name decap-cms \\\n  --restart=always \\\n  itsmejoeeey/docker-decap-cms-standalone:latest\n```\n\nSee also: [\"Supplying a valid `config.yml` file\"](#supplying-a-valid-configyml-file)\n\nEnvironment variables:\n* `ORIGINS`: the root url Decap CMS will be accessible from (i.e. `cms.example.com`). Can contain more than one (comma-separated). Can contain regex (e.g. `.*.example.com`).\n* `OAUTH_CLIENT_ID` and `OAUTH_CLIENT_SECRET`: need to provide from Gitlab ([see further instruction here](https://docs.gitlab.com/ee/integration/oauth_provider.html)).\n* `OAUTH_PROVIDER`, `SCOPES`, `OAUTH_AUTHORIZE_PATH`, `OAUTH_TOKEN_PATH`: don't need to be changed.\nAdditionally:\n* `GIT_HOSTNAME`: for enterprise Gitlab installations.\n\nTODO: Elaborate more. [See here for more information.](https://github.com/vencax/netlify-cms-github-oauth-provider#auth-provider-config)\n\n\n### Supplying a valid `config.yml` file\n\n[See the example file stored in the repo here.](https://github.com/itsmejoeeey/docker-decap-cms-standalone/blob/master/app/config.yml)\n\n- Make sure to update `name`, `repo`, and `branch` to match your backend provider.\n    i.e.:\n    ```\n        name: [github|gitlab]\n        repo: itsmejoeeey/test-blog-content\n        branch: main\n    ```\n\n- Make sure to update `base_url` to match the origin(s) you passed initially.\n    i.e.:\n    ```\n        base_url: https://cms.example.com\n    ```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsmejoeeey%2Fdocker-decap-cms-standalone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitsmejoeeey%2Fdocker-decap-cms-standalone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsmejoeeey%2Fdocker-decap-cms-standalone/lists"}