Skip to content

Instantly share code, notes, and snippets.

@rudyj03
rudyj03 / docker-compose.yml
Last active Nov 14, 2019
This docker compose file creates an empty Postgres database container and a pgAdmin container. You can connect to the database by specifying "database" as the host name in the pgAdmin UI along with the Postgres credentials listed in this compose file.
View docker-compose.yml
version: '3.1'
services:
postgresql:
image: postgres:11-alpine
container_name: database
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: test
POSTGRES_DB: postgres
ports:
You can’t perform that action at this time.