Skip to content

Instantly share code, notes, and snippets.

@bebetoalves
Forked from davidostermann/docker-compose.yml
Last active August 20, 2022 17:15
Show Gist options
  • Select an option

  • Save bebetoalves/f7b3f1d40a77cd394da774da69e36a63 to your computer and use it in GitHub Desktop.

Select an option

Save bebetoalves/f7b3f1d40a77cd394da774da69e36a63 to your computer and use it in GitHub Desktop.
Docker compose Postgres Adminer
version: '3.1'
services :
db:
image: postgres:13-alpine
ports:
- "5432:5432"
environment:
POSTGRES_USER: admin
POSTGRES_PASSWORD: admin
POSTGRES_DB: db
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