Created
January 24, 2019 12:22
-
-
Save pascalwacker/a482d6cb9d1f6b2c3d0a2b6c263479b7 to your computer and use it in GitHub Desktop.
Docker Compose file for DMDB Course
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" | |
services: | |
dmdb-db: | |
image: postgres | |
container_name: dmdb-db | |
environment: | |
POSTGRES_USER: visionen | |
POSTGRES_PASSWORD: dmdbisfun | |
volumes: | |
- /var/lib/postgresql/data | |
ports: | |
- "5432:5432" | |
dmdb-admin: | |
image: adminer | |
container_name: dmdb-admin | |
environment: | |
ADMINER_DEFAULT_SERVER: dmdb-db | |
ports: | |
- "8080:8080" | |
depends_on: | |
- dmdb-db |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment