Skip to content

Instantly share code, notes, and snippets.

@davidostermann
Last active November 1, 2024 12:49
Show Gist options
  • Save davidostermann/0190da1e1544dfd1625e53ca8a74e258 to your computer and use it in GitHub Desktop.
Save davidostermann/0190da1e1544dfd1625e53ca8a74e258 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
@hericah
Copy link

hericah commented Jun 26, 2023

Thanks!

@danLeBrown
Copy link

@DavidSolus, thanks 👍

@kusa-mochi
Copy link

@DavidSolus thanks! It helped me :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment