houdini/docker/debug/docker-compose.yml

33 lines
433 B
YAML
Raw Normal View History

# License: CC0-1.0
version: '2'
services:
web:
build:
2018-09-06 21:29:07 +00:00
context: ../..
dockerfile: docker/debug/Dockerfile
args:
2018-09-06 21:29:07 +00:00
- USER
user: ${USER}
environment:
- DATABASE_HOST=db
- USER=${USER}
volumes:
2018-09-06 21:29:07 +00:00
- ../../:/myapp
ports:
2018-09-06 21:29:07 +00:00
- "5000:5000"
depends_on:
2018-09-06 21:29:07 +00:00
- db
db:
image: postgres:12.0
environment:
2018-09-06 21:29:07 +00:00
POSTGRES_USER: "admin"
POSTGRES_PASSWORD: "password"