Last active
September 13, 2019 23:39
-
-
Save ijaketak/767d3c863c3ce5f0e322a71bddd84bec to your computer and use it in GitHub Desktop.
pgweb and PostgreSQL 11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/data/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
postgres: | |
image: postgres:11-alpine | |
environment: | |
POSTGRES_USER: postgres | |
POSTGRES_PASSWORD: password | |
ports: | |
- 5432:5432 | |
container_name: postgres-db | |
volumes: | |
- ./data:/var/lib/postgresql/data | |
pgweb: | |
image: sosedoff/pgweb | |
environment: | |
DATABASE_URL: postgres://postgres:password@postgres:5432/postgres?sslmode=disable | |
ports: | |
- 8081:8081 | |
depends_on: | |
- postgres |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment