{"id":18338941,"url":"https://github.com/marverix/classicpress-docker","last_synced_at":"2026-03-01T04:35:11.516Z","repository":{"id":50674503,"uuid":"469109306","full_name":"marverix/classicpress-docker","owner":"marverix","description":"ClassicPress in Docker Image","archived":false,"fork":false,"pushed_at":"2026-02-03T21:52:38.000Z","size":488,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-04T10:46:09.521Z","etag":null,"topics":["classicpress","docker","docker-compose","docker-image","wordpress"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/marverix.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-03-12T14:41:29.000Z","updated_at":"2026-02-03T21:52:56.000Z","dependencies_parsed_at":"2025-04-13T09:13:03.965Z","dependency_job_id":"901067d6-325f-4574-9e84-bac331bd865e","html_url":"https://github.com/marverix/classicpress-docker","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/marverix/classicpress-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marverix%2Fclassicpress-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marverix%2Fclassicpress-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marverix%2Fclassicpress-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marverix%2Fclassicpress-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marverix","download_url":"https://codeload.github.com/marverix/classicpress-docker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marverix%2Fclassicpress-docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29960253,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T01:47:18.291Z","status":"online","status_checked_at":"2026-03-01T02:00:07.437Z","response_time":124,"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":["classicpress","docker","docker-compose","docker-image","wordpress"],"created_at":"2024-11-05T20:16:01.119Z","updated_at":"2026-03-01T04:35:11.509Z","avatar_url":"https://github.com/marverix.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ClassicPress in Docker Image\n\nQuote from [www.classicpress.net](https://www.classicpress.net/):\n\n\u003e ClassicPress is a community-led open source content management system and a fork of WordPress that preserves the TinyMCE classic editor as the default option.\n\n## Changelog\n\n[Open changelog](https://github.com/marverix/classicpress-docker/blob/master/CHANGELOG.md)\n\n## Tags\n\n### Convention\n\nTagging convention is: `CLASIC_PRESS_VERSION-rRELEASE`\n\n`CLASIC_PRESS_VERSION` is ClassicPress version, `RELEASE` is Docker Image release number. Eg. `2.4.1-r1`.\n\n## Basic Information\n\n* The image is based on Alpine 3.22 and php 8.4\n* Multi-plarform support: AMD64 (x86-64) and ARM64 (aarch64)\n* Some code taken from [`TrafeX/docker-php-nginx:2.5.0`](https://github.com/TrafeX/docker-php-nginx) which I highly recommend! Unfortunatelly I coudln't use it (inherit) because Docker has no mechanism to \"unexpose\" port and remove health check\n* Thanks to Alpine + Nginx + php-fpm, the image is using only around ~40MB of RAM\n* Has enabled all required and recommended php extensions for WordPress\n* Basic security hardening done\n* Support for Docker Secrets via env variables with `_FILE` suffix\n\nNote: Even with basic hardening done, it's highly recommended to not to expose a container directly to the outside world. Consider using a reverse proxy like [traefik](https://doc.traefik.io/traefik/) or [Nginx Proxy Manager](https://nginxproxymanager.com/).\n\n### Current\n\nhttps://hub.docker.com/r/marverix/classicpress/tags\n\n## Usage\n\nGood Docker practice is that one service/server == one docker container, this is why you will still need to run separate container\nwith a database (MySQL/MariaDB).\n\n### Write Permission\n\nThis image deals with write access shared between host and the container by group `press` (and user) with ID _2048_. This is why your user running the container must be in this group.\n\nIf you are running Debian/Ubuntu-based run on your host machine:\n\n```sh\nsudo groupadd -g 2048 press\nsudo usermod $(whoami) -aG press\n```\n\nRead more:\n\n* [File Permissions: the painful side of Docker](https://blog.gougousis.net/file-permissions-the-painful-side-of-docker/)\n* [Permission problems in bind mount in Docker Volume](https://techflare.blog/permission-problems-in-bind-mount-in-docker-volume/)\n* [File permissions on Docker volumes](https://ikriv.com/blog/?p=4698)\n\n### With Docker Compose\n\nYou will need to create own `docker-compose.yaml` file.\nAs a start point, you can use [`docker-compose.example.yaml`](https://github.com/marverix/classicpress-docker/blob/master/docker-compose.example.yaml) and [`myblog-env-example`](https://github.com/marverix/classicpress-docker/blob/master/myblog-env-example). Then simply run:\n\n```sh\ndocker-compose -f docker-compose.example.yaml --env-file=myblog-env-example up\n```\n\n### Manually\n\n1. Create network\n\n    ```sh\n    docker network create --driver bridge classicpress_network\n    ```\n\n1. Set up MariaDB/MySQL:\n\n    ```sh\n    docker volume create mariadb_data\n    docker run \\\n        --detach \\\n        --name mariadb \\\n        --volume mariadb_data:/var/lib/mysql \\\n        --env MARIADB_DATABASE=myblog_db \\\n        --env MARIADB_USER=myblog_user \\\n        --env MARIADB_PASSWORD=my_secret_passowrd \\\n        --env MARIADB_ROOT_PASSWORD=my_turbo_secret_password \\\n        --restart=unless-stopped \\\n        mariadb:10.7.3\n    ```\n\n1. Create a volume where will be stored config and data.\n\n    ```sh\n    docker volume create myblog_data\n    ```\n\n1. Run\n\n    ```sh\n    docker run \\\n        --detach \\\n        --expose 80:80 \\\n        --name myblog \\\n        --volume myblog_data:/data \\\n        --env CP_DB_NAME=myblog_db \\\n        --env CP_DB_USER=myblog_user \\\n        --env CP_DB_PASSWORD=my_secret_passowrd \\\n        --env CP_DB_HOST=mariadb \\\n        --restart=unless-stopped \\\n        marverix/classicpress:latest\n    ```\n    \n## Development\n\nHow-to is described in [a separate document](https://github.com/marverix/classicpress-docker/blob/master/DEVELOPMENT.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarverix%2Fclassicpress-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarverix%2Fclassicpress-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarverix%2Fclassicpress-docker/lists"}