Created
March 17, 2022 13:02
-
-
Save irfansofyana/e96fe72ee99a89a82f2e1cacf93fe94b to your computer and use it in GitHub Desktop.
db-infra
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:latest | |
volumes: | |
- infra-postgres:/var/lib/postgresql/data | |
ports: | |
- "5432:5432" | |
environment: | |
POSTGRES_USER: postgres | |
POSTGRES_PASSWORD: password | |
adminerweb: | |
image: adminer | |
restart: always | |
depends_on: | |
- postgres | |
ports: | |
- 8282:8080 | |
volumes: | |
infra-postgres: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment