Files
infomate.club/docker-compose.yml
2020-01-06 22:12:12 +01:00

31 lines
586 B
YAML

version: '3.7'
services:
infomate_app:
build:
context: .
args:
requirements: requirements.txt
command: make docker_run
container_name: infomate_app
environment:
- DEBUG=True
- PYTHONUNBUFFERED=1
restart: always
volumes:
- .:/app:delegated
depends_on:
- postgres
ports:
- "8000:8000"
postgres:
image: postgres:11
container_name: infomate_postgres
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=infomate
ports:
- 5432