-
-
Save jmrg2022/dc412fe07c786d8295d04511f99eb295 to your computer and use it in GitHub Desktop.
Docker compose Postgres Adminer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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