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