Commit 1f543f0e authored by Roman Desyatskii's avatar Roman Desyatskii

Created docker-compose.yml file

parent 4c70b974
version: '3'
services:
app:
build:
context: .
dockerfile: Dockerfile
environment:
- database_url=postgres://postgres:postgres@postgres/postgres
ports:
- "5432:5432"
volumes:
- .:/app
command: bash -c "python src/main.py"
depends_on:
- postgres
postgres:
image: postgres:12-alpine
environment:
- POSTGRES_PASSWORD=postgres
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment