{"id":17212418,"url":"https://github.com/gpongelli/pgadmin4-docker-arm","last_synced_at":"2025-09-09T16:33:13.772Z","repository":{"id":65564694,"uuid":"588641678","full_name":"gpongelli/pgadmin4-docker-arm","owner":"gpongelli","description":"pgAdmin4 - Docker Image for armv7 (Raspberry Pi)","archived":false,"fork":false,"pushed_at":"2023-05-10T03:56:42.000Z","size":310,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-30T11:41:48.090Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gpongelli.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2023-01-13T16:14:19.000Z","updated_at":"2023-01-29T20:55:01.000Z","dependencies_parsed_at":"2024-12-03T12:49:55.216Z","dependency_job_id":null,"html_url":"https://github.com/gpongelli/pgadmin4-docker-arm","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpongelli%2Fpgadmin4-docker-arm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpongelli%2Fpgadmin4-docker-arm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpongelli%2Fpgadmin4-docker-arm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpongelli%2Fpgadmin4-docker-arm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gpongelli","download_url":"https://codeload.github.com/gpongelli/pgadmin4-docker-arm/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245466882,"owners_count":20620207,"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":"2024-10-15T02:59:59.366Z","updated_at":"2025-03-25T12:46:16.327Z","avatar_url":"https://github.com/gpongelli.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Pulls](https://img.shields.io/docker/pulls/gpongelli/pgadmin4-arm.svg?style=flat-square\u0026logo=docker)](https://hub.docker.com/r/gpongelli/pgadmin4-arm/)\n\n\nLast updated by bot: 2023-01-19\n\n# pgAdmin 4\n\nThis is a simple Raspberry Docker image for running pgAdmin 4 in a container. The default\nconfiguration is not intended for production use (it runs in \"desktop mode\",\nso authentication is disabled).\n\nThis image uses an unprivileged user, and uses port `5050` instead of `80`.\nTo access the web-interface on port `80` instead of `5050`, you can map the\nport using `-p 80:5050`.\n\n## Fix issue of Docker on Mac OSX\n\nSometimes happens that Docker on Mack hangs at startup, an useful list of command to fix is:\n\n```bash\nrm -rf ~/Library/Containers/com.docker.*\ncd /usr/local/bin\nchmod 0755 dock*\n```\n\n## Original credits \n\nCredits for the starting structure of this project goes to [FlorianASchroeder](https://github.com/FlorianASchroeder/pgadmin4-docker).\n\nStarting from that project, I've added the github actions to build docker image for Raspberry's armv7 architecture.\n\n\n## Tags\nTo use a specific combination of pgAdmin 4 and python see the following table of available image tags.\n\n|          Tag          |  pgAdmin version  |  Python version  |   Distro   |  Architecture  |\n|-----------------------|-------------------|------------------|------------|----------------|\n|  `7.1-py3.11-armv8`   |        7.1        |      3.11.3      | alpine3.16 |     armv8      |\n|  `7.0-py3.11-armv8`   |        7.0        |      3.11.3      | alpine3.16 |     armv8      |\n|  `6.21-py3.11-armv7`  |       6.21        |      3.11.3      | alpine3.16 |     armv7      |\n|  `6.21-py3.11-armv8`  |       6.21        |      3.11.3      | alpine3.16 |     armv8      |\n|  `6.20-py3.11-armv7`  |       6.20        |      3.11.3      | alpine3.16 |     armv7      |\n|  `6.20-py3.11-armv8`  |       6.20        |      3.11.3      | alpine3.16 |     armv8      |\n|  `6.19-py3.11-armv7`  |       6.19        |      3.11.3      | alpine3.16 |     armv7      |\n|  `6.19-py3.11-armv8`  |       6.19        |      3.11.3      | alpine3.16 |     armv8      |\n\nLovely! These tags are kept updated automatically (when new minor or patch version are released) by `build_versions.py` which is run twice a day on CircleCI.\n\n## Example use\n\n### Docker compose example\n\n```bash\nversion: '2'\nservices:\n  pg_admin:\n    container_name: pgAdmin\n    image: gpongelli/pgadmin4-docker-armv7:6.19-py3.11\n    restart: unless-stopped\n    ports:\n      - 5050:5050\n    volumes:\n      - ./volumes/pg_admin/servers.json:/pgadmin/servers.json\n    networks:\n      ...\n    environment:\n      ...\n```\n\n### Quick start\n\nTo see this image in action, run the following command;\n\n```bash\n$ docker run --rm -p 5050:5050 docker pull gpongelli/pgadmin4-docker-armv7:6.19-py3.11\n```\n\nThis starts a one-off container in non-detached mode, and container logs are\nprinted in your terminal. After the container has finished starting, visit\n`http://[your-docker-host]:5050` in your browser to try pgAdmin 4.\n\nTo exit and remove the container, press `CTRL+C` in your terminal.\n\n\n### Practical example\n\nThis example uses a custom network, and runs a PostgreSQL container.\n\n```bash\n# create a custom network for easier connecting\n$ docker network create pg\n\n# start a postgres container\n$ docker run -d -e POSTGRES_PASSWORD=password --network=pg --name postgres postgres:9-alpine\n\n# start pgAdmin container\n$ docker run -d -p 5050:5050 --name pgadmin --network=pg gpongelli/pgadmin4-docker-armv7:6.19-py3.11\n```\n\nNow visit `http://[your-docker-host]:5050` in your browser. You can add the\npostgres database (hostname is `postgres`, password is `password`) to test\nif everything is working.\n\n![screenshot](https://raw.githubusercontent.com/thaJeztah/pgadmin4-docker/master/pgadmin-screenshot.png)\n\n## Persistent data\n\nPersistent data is stored in a volume, located at `/pgadmin/`. This allows\nyou to upgrade the container to a new version without losing configuration.\n\nThe following directories can be found inside the volume;\n\n- `/pgadmin/config/pgadmin4.db` - SQLite configuration database\n- `/pgadmin/storage/` - other storage\n\nYou can override the storage location using the `PG_ADMIN_DATA_DIR`\nenvironment variable\n\n## Unprivileged user\n\npgAdmin runs as an unprivileged user (`pgadmin`) with `uid:gid` `1000:50`.\nThe `uid:gid` is selected for compatibility with Docker Toolbox, and allows\nyou to bind-mount a local directory inside the container for persistent\nstorage\n\nFor example, to bind-mount the `/Users/me/pgadmin` directory as storage directory;\n\n```bash\n$ docker run -d -p 5050:5050 -v /Users/me/pgadmin:/pgadmin gpongelli/pgadmin4-docker-armv7:6.19-py3.11\n```\n\n## Run the image with a read-only filesystem\n\nThis image can be run with a read-only filesystem. To do so, specify the\n`--read-only` flag when starting the container.\n\n```bash\n$ docker run -d -p 5050:5050 --name pgadmin --read-only gpongelli/pgadmin4-docker-armv7:6.19-py3.11\n```\n\n## Runtime configuration\n\nThis image can be configured at runtime, by setting environment variables;\n\n- `PG_ADMIN_DATA_DIR` directory to use for storing data (defaults to `/pgadmin/`)\n- `PG_ADMIN_PORT` port to listen on (defaults to `5050`)\n- `PG_ADMIN_SESSION_DIR` directory to use for storing server-side sessions (defaults to `/dev/shm/pgAdmin4_session`)\n- `DEBUG` enable debug mode (detaults to `False`)\n\nMore information on pgAdmin 4 development can be found here;\n\n- https://git.postgresql.org/gitweb/?p=pgadmin4.git;a=summary\n- https://www.pgadmin.org\n\n## Reporting issues and feature requests\n\nIssues and feature requests can be reported on GitHub;\nhttps://github.com/gpongelli/pgadmin4-docker-armv7\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgpongelli%2Fpgadmin4-docker-arm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgpongelli%2Fpgadmin4-docker-arm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgpongelli%2Fpgadmin4-docker-arm/lists"}