{"id":26728311,"url":"https://github.com/error311/filerise-docker","last_synced_at":"2026-04-16T12:37:44.221Z","repository":{"id":279025108,"uuid":"937510137","full_name":"error311/filerise-docker","owner":"error311","description":"Docker for multi-file-upload-editor","archived":false,"fork":false,"pushed_at":"2025-03-26T23:05:53.000Z","size":256,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-27T00:20:35.548Z","etag":null,"topics":["apache","bash-script","docker","php","php-zip"],"latest_commit_sha":null,"homepage":"","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/error311.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":"2025-02-23T08:25:07.000Z","updated_at":"2025-03-26T23:05:56.000Z","dependencies_parsed_at":"2025-03-10T16:30:32.751Z","dependency_job_id":"aacdb3f8-2239-49a3-91c1-ab9aa3a17877","html_url":"https://github.com/error311/filerise-docker","commit_stats":null,"previous_names":["error311/multi-file-upload-editor-docker","error311/filerise-docker"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/error311%2Ffilerise-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/error311%2Ffilerise-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/error311%2Ffilerise-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/error311%2Ffilerise-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/error311","download_url":"https://codeload.github.com/error311/filerise-docker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245932595,"owners_count":20696088,"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":["apache","bash-script","docker","php","php-zip"],"created_at":"2025-03-27T22:23:00.765Z","updated_at":"2026-04-16T12:37:44.212Z","avatar_url":"https://github.com/error311.png","language":"Shell","readme":"# FileRise Docker · CI/CD\n\nThis repository builds and publishes the official **FileRise** Docker image for multiple architectures (`amd64`, `arm64`).  \nThe application source code lives in **[error311/FileRise](https://github.com/error311/FileRise)**.\n\n---\n\n## Overview\n\nThis repo does **not** contain the FileRise application, Dockerfile, or startup scripts.  \nInstead, it provides a **fully automated CI/CD pipeline** that:\n\n- Pulls the latest FileRise source code.\n- Runs version stamping to replace cache-busting placeholders.\n- Builds a multi-architecture Docker image.\n- Pushes the final image to Docker Hub.\n\n---\n\n## How It Works\n\n1. **Source of truth:**  \n   The `VERSION` file in this repo defines which FileRise version should be built (e.g., `v1.7.0`).\n\n2. **Automatic sync:**  \n   When a new release is published in [FileRise](https://github.com/error311/FileRise), its CI workflow automatically:\n   - Updates `CHANGELOG.md` here.\n   - Writes the new version into `VERSION`.\n\n3. **CI Trigger:**  \n   Any push to this repo’s `main` branch — whether from the upstream sync or manual changes — triggers the build pipeline.\n\n4. **Build \u0026 Push:**\n   - Checks out both this repo and the FileRise app repository.\n   - Runs `scripts/stamp-assets.sh` to replace `{{APP_VER}}` / `{{APP_QVER}}` placeholders and normalize `?v=` cache-busters.\n   - Verifies that all placeholders were replaced successfully.\n   - Builds and pushes a multi-architecture Docker image to Docker Hub:\n     - `error311/filerise-docker:latest`\n     - `error311/filerise-docker:vX.Y.Z`\n\n---\n\n## Prerequisites\n\n- GitHub Actions runner with **Docker Buildx** and **QEMU** support.\n- The following **repository secrets** configured under  \n  `Settings → Secrets and variables → Actions`:\n  - `DOCKER_USERNAME` – your Docker Hub username.\n  - `DOCKER_PASSWORD` – your Docker Hub password or access token.\n\n---\n\n## Publish Flow\n\n1. The **FileRise** repository releases a new version (e.g. `v1.7.0`).\n2. Its workflow syncs the latest `CHANGELOG.md` and `VERSION` into this repo.\n3. That push triggers this repo’s CI.\n4. The pipeline:\n   - Stamps versioned assets inside `app/`\n   - Builds the multi-architecture Docker image\n   - Pushes it to Docker Hub as:\n     - `error311/filerise-docker:v1.7.0`\n     - `error311/filerise-docker:latest`\n\n---\n\n## Using the Docker Image\n\n### Pull the image\n```bash\ndocker pull error311/filerise-docker:latest\n# or a specific version\ndocker pull error311/filerise-docker:v1.7.0\n```\n\n### Run FileRise\n```\ndocker run -d \\\n  -p 80:80 \\\n  --name filerise \\\n  error311/filerise-docker:latest\n```\nDocker will automatically select the correct architecture for your platform.\n\n---\n\n### Troubleshooting\n- **Old version built:**\nMake sure the VERSION file contains the desired tag (e.g. v1.7.0) and the upstream sync completed.\n- **Placeholders not replaced:**\nThe workflow fails if {{APP_QVER}} or {{APP_VER}} remain in HTML/JS/CSS.\nConfirm that app/scripts/stamp-assets.sh exists and runs properly.\n- **Private dependencies:**\nIf your FileRise build depends on private modules, update the workflow’s checkout step with the necessary credentials.\n\n---\n\n### Related Repositories\n- **Main application:** error311/FileRise￼\n- **Docker Hub:** error311/filerise-docker￼\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferror311%2Ffilerise-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ferror311%2Ffilerise-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferror311%2Ffilerise-docker/lists"}