Skip to content

pgadmin4 Docker-Image, compatible with arm (e.g. raspberry pi)

License

Notifications You must be signed in to change notification settings

Benuhx/pgadmin4-docker-arm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pgadmin4-docker-arm

Docker-Images for pgAdmin which runs on ARM, e.g. Raspberry pi 3 / 4

Inspired by https://github.com/thaJeztah/pgadmin4-docker

Dockerhub: https://hub.docker.com/repository/docker/benuhx/pgadmin4-pi

Example Docker-Compose

version: "3.4"
services:
    pgadmin:
      image: benuhx/pgadmin4-pi:latest
      container_name: pgadmin
      restart: always
      volumes:
        - type: bind
          source: "/home/pi/pgadmin"
          target: "/var/lib/pgadmin"
      environment:
        PGADMIN_SETUP_EMAIL: "[email protected]"
        PGADMIN_SETUP_PASSWORD: "TdiEbGOGHn1wQQAWhvrnZNeEVD8JDpjx"
      ports:
        - 5050:5050

Build Docker-Image:

  1. Build Image with: docker build -f Dockerfile -t pgadmin4-pi.
  2. Modify docker-compose.yml (example below)
  3. If you want to use a volume bind mount (useful for persisting the pgadmin configs), modify directory owner with:
sudo chown -R 1000:50 /home/pi/pgadmin

Replace /home/pi/pgadmin with your path. 1000:50 is defined in the Dockerfile

  1. Run with with docker-compose up. pgAdmin takes ~ 45s for startup on Raspberry Pi 3

About

pgadmin4 Docker-Image, compatible with arm (e.g. raspberry pi)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published