Last active
November 7, 2019 10:03
-
-
Save benyblack/bc30bbe100326e6b27a8d4fb746025ec to your computer and use it in GitHub Desktop.
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' | |
services: | |
database: | |
image: "postgres" | |
environment: | |
POSTGRES_USER: "postgres" | |
POSTGRES_PASSWORD: "postgres" | |
POSTGRES_DB: "hello_world_test" | |
restart: always | |
volumes: | |
- ./docker/data/postgres:/var/lib/postgres/data | |
test: | |
build: | |
context: . | |
dockerfile: test.Dockerfile | |
volumes: | |
- ./test_result:/app/test_result | |
depends_on: | |
- database |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment