Skip to content

Instantly share code, notes, and snippets.

@lucasres
Created January 23, 2020 02:43
Show Gist options
  • Save lucasres/0a9c55502b2e6947175eefacedd5c7d0 to your computer and use it in GitHub Desktop.
Save lucasres/0a9c55502b2e6947175eefacedd5c7d0 to your computer and use it in GitHub Desktop.
docker-compose para rodar o pgadmin
version: '3.4'
services:
pgadmin:
image: dpage/pgadmin4
container_name: pgadmin
environment:
- PGADMIN_DEFAULT_EMAIL=lucasresone@gmail.com
- PGADMIN_DEFAULT_PASSWORD=pgadmin
- PGADMIN_LISTEN_PORT=5050
ports:
- "5050:5050"
network_mode: "host"
restart: always
volumes:
- pga4volume:/var/lib/pgadmin
volumes:
pga4volume:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment