Created
July 28, 2022 12:59
-
-
Save orthodoX/b1cf92f62675c2741128501163cfdeb1 to your computer and use it in GitHub Desktop.
Docker compose with Postgres
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.9' | |
services: | |
app: | |
build: . | |
volumes: | |
- .:/app | |
stdin_open: true | |
tty: true | |
postgres: | |
image: postgres:14.4-alpine | |
environment: | |
POSTGRES_USER: postgres | |
POSTGRES_PASSWORD: postgres | |
ports: | |
- '5432:5432' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment