{"id":13409989,"url":"https://github.com/muchobien/pocketbase-docker","last_synced_at":"2025-04-05T21:09:53.691Z","repository":{"id":44411778,"uuid":"512404791","full_name":"muchobien/pocketbase-docker","owner":"muchobien","description":"Pocketbase docker image","archived":false,"fork":false,"pushed_at":"2024-06-18T07:31:48.000Z","size":47,"stargazers_count":302,"open_issues_count":0,"forks_count":56,"subscribers_count":10,"default_branch":"main","last_synced_at":"2024-07-31T20:39:52.307Z","etag":null,"topics":["amd64","arm64","armv7","docker","docker-compose","docker-image","multi-arch","pocketbase"],"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/muchobien.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":"2022-07-10T10:24:14.000Z","updated_at":"2024-07-31T12:57:55.000Z","dependencies_parsed_at":"2024-06-18T09:02:55.602Z","dependency_job_id":null,"html_url":"https://github.com/muchobien/pocketbase-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muchobien%2Fpocketbase-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muchobien%2Fpocketbase-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muchobien%2Fpocketbase-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muchobien%2Fpocketbase-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/muchobien","download_url":"https://codeload.github.com/muchobien/pocketbase-docker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247399885,"owners_count":20932880,"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":["amd64","arm64","armv7","docker","docker-compose","docker-image","multi-arch","pocketbase"],"created_at":"2024-07-30T20:01:04.378Z","updated_at":"2025-04-05T21:09:53.673Z","avatar_url":"https://github.com/muchobien.png","language":"Dockerfile","funding_links":[],"categories":["Hosting","docker","Docker","Shell","Top PocketBase-specific Projects (\u003e100 stars)"],"sub_categories":[],"readme":"\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://pocketbase.io/\"\u003e\n    \u003cimg alt=\"PocketBase logo\" height=\"128\" src=\"https://pocketbase.io/images/logo.svg\"\u003e\n    \u003ch1 align=\"center\"\u003eDocker Image for PocketBase\u003c/h1\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n   \u003ca aria-label=\"Latest PocketBase Version\" href=\"https://github.com/pocketbase/pocketbase/releases\" target=\"_blank\"\u003e\n    \u003cimg alt=\"Latest PocketBase Version\" src=\"https://img.shields.io/github/v/release/pocketbase/pocketbase?color=success\u0026display_name=tag\u0026label=latest\u0026logo=docker\u0026logoColor=%23fff\u0026sort=semver\u0026style=flat-square\"\u003e\n  \u003c/a\u003e\n  \u003ca aria-label=\"Supported architectures\" href=\"https://github.com/pocketbase/pocketbase/releases\" target=\"_blank\"\u003e\n    \u003cimg alt=\"Supported Docker architectures\" src=\"https://img.shields.io/badge/platform-amd64%20%7C%20arm64%20%7C%20armv7-brightgreen?style=flat-square\u0026logo=linux\u0026logoColor=%23fff\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n---\n\n## Supported Architectures\n\nPulling `ghcr.io/muchobien/pocketbase:latest` will automatically retrieve the appropriate image for your system architecture.\n\n| Architecture | Supported |\n|--------------|-----------|\n| amd64        | ✅        |\n| arm64        | ✅        |\n| armv7        | ✅        |\n\n## Version Tags\n\nThis image offers multiple tags for different versions. Choose the appropriate tag for your use case and exercise caution when using unstable or development tags.\n\n| Tag    | Available | Description                        |\n|--------|-----------|------------------------------------|\n| latest | ✅        | Latest stable release of PocketBase |\n| x.x.x  | ✅        | Specific patch release             |\n| x.x    | ✅        | Minor release                      |\n| x      | ✅        | Major release                      |\n\n## Application Setup\n\nAccess the web UI at `\u003cyour-ip\u003e:8090`. For more details, refer to the [PocketBase Documentation](https://pocketbase.io/docs/).\n\n## Usage\n\nBelow are example configurations to get started with a PocketBase container.\n\n### Using Docker Compose (Recommended)\n\n```yaml\nversion: \"3.7\"\nservices:\n  pocketbase:\n    image: ghcr.io/muchobien/pocketbase:latest\n    container_name: pocketbase\n    restart: unless-stopped\n    command:\n      - --encryptionEnv # optional\n      - ENCRYPTION # optional\n    environment:\n      ENCRYPTION: $(openssl rand -hex 16) # optional (Ensure this is a 32-character long encryption key https://pocketbase.io/docs/going-to-production/#enable-settings-encryption) \n    ports:\n      - \"8090:8090\"\n    volumes:\n      - /path/to/data:/pb_data\n      - /path/to/public:/pb_public # optional\n      - /path/to/hooks:/pb_hooks # optional\n    healthcheck: # optional, recommended since v0.10.0\n      test: wget --no-verbose --tries=1 --spider http://localhost:8090/api/health || exit 1\n      interval: 5s\n      timeout: 5s\n      retries: 5\n```\n\n### Using Docker CLI ([More Info](https://docs.docker.com/engine/reference/commandline/cli/))\n\n```bash\ndocker run -d \\\n  --name=pocketbase \\\n  -p 8090:8090 \\\n  -e ENCRYPTION=example `# optional` \\\n  -v /path/to/data:/pb_data \\\n  -v /path/to/public:/pb_public `# optional` \\\n  -v /path/to/hooks:/pb_hooks `# optional` \\\n  --restart unless-stopped \\\n  ghcr.io/muchobien/pocketbase:latest \\\n  --encryptionEnv ENCRYPTION `# optional`\n```\n\n## Building the Image Locally\n\nTo build the image yourself, copy the `Dockerfile` and `docker-compose.yml` to your project directory. Update `docker-compose.yml` to build the image instead of pulling it:\n\n```yaml\nversion: \"3.7\"\nservices:\n  pocketbase:\n    build:\n      context: .\n      args:\n        - VERSION=0.22.10 # Specify the PocketBase version here\n    container_name: pocketbase\n    restart: unless-stopped\n    command:\n      - --encryptionEnv # optional\n      - ENCRYPTION # optional\n    environment:\n      ENCRYPTION: example # optional\n    ports:\n      - \"8090:8090\"\n    volumes:\n      - /path/to/data:/pb_data\n      - /path/to/public:/pb_public # optional\n      - /path/to/hooks:/pb_hooks # optional\n    healthcheck: # optional, recommended since v0.10.0\n      test: wget --no-verbose --tries=1 --spider http://localhost:8090/api/health || exit 1\n      interval: 5s\n      timeout: 5s\n      retries: 5\n```\n\n## Related Repositories\n\n- [PocketBase GitHub Repository](https://github.com/pocketbase/pocketbase)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuchobien%2Fpocketbase-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmuchobien%2Fpocketbase-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuchobien%2Fpocketbase-docker/lists"}