-
-
Save JanMikes/6e6c2ea69cc32fcac5fe9f50c076149a to your computer and use it in GitHub Desktop.
Docker compose example - Postgres + adminer
This file contains 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
DATABASE_USER=postgres | |
DATABASE_PASSWORD=root | |
DATABASE_DBNAME=test |
This file contains 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.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