Skip to content

Instantly share code, notes, and snippets.

@blaurt
Forked from davidostermann/docker-compose.yml
Created May 3, 2020 12:38
Show Gist options
  • Save blaurt/7be6f864e58e1a1e653498f7a6b13350 to your computer and use it in GitHub Desktop.
Save blaurt/7be6f864e58e1a1e653498f7a6b13350 to your computer and use it in GitHub Desktop.
Docker compose Postgres Adminer
version: '3.1'
services :
db:
image: postgres:10-alpine
ports:
- "5432:5432"
environment:
POSTGRES_USER: user1
POSTGRES_PASSWORD: changeme
POSTGRES_DB: tododb
admin:
image: adminer
restart: always
depends_on:
- db
ports:
- 8080:8080
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment