system-praktyk-api/.docker/docker-compose.yaml

20 lines
462 B
YAML

version: "3.3"
services:
internship.api:
image: internship.api:latest
environment:
CONNECTIONSTRINGS__INTERNSHIPDATABASE: "Host=db.postgres;Port=5432;Database=postgres;Username=postgres;Password=szwoniu"
ASPNETCORE_ENVIRONMENT: Development
depends_on:
- db.postgres
ports:
- 8080:80
db.postgres:
image: postgres
restart: always
environment:
POSTGRES_PASSWORD: szwoniu
ports:
- 5432:5432