Skip to content

Instantly share code, notes, and snippets.

@JanMikes
Created August 11, 2020 09:37
Show Gist options
  • Save JanMikes/6e6c2ea69cc32fcac5fe9f50c076149a to your computer and use it in GitHub Desktop.
Save JanMikes/6e6c2ea69cc32fcac5fe9f50c076149a to your computer and use it in GitHub Desktop.
Docker compose example - Postgres + adminer
DATABASE_USER=postgres
DATABASE_PASSWORD=root
DATABASE_DBNAME=test
version: "3.7"
services:
postgres:
image: postgres:12.3
environment:
POSTGRES_PASSWORD: ${DATABASE_PASSWORD}
POSTGRES_USER: ${DATABASE_USER}
POSTGRES_DB: ${DATABASE_DBNAME}
ports:
- 5416:5432
adminer:
image: adminer
ports:
- 8093:8080
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment