0
0
RhSolutions-Api/docker-compose.yml

36 lines
751 B
YAML
Raw Normal View History

2024-01-14 15:07:03 +03:00
version: '3'
services:
app:
build: .
container_name: app
ports:
- 5000:5000
environment:
- DB_HOST=db
- DB_PORT=5432
- DB_DATABASE=rhsolutions
- DB_USER=chebser
- DB_PASSWORD=Rehau-987
2024-02-07 16:32:34 +03:00
- ASPNETCORE_ENVIRONMENT=Development
2024-01-14 15:07:03 +03:00
networks:
- rhsolutions
volumes:
- ./RhSolutions.Api/MLModels:/app/MLModels
depends_on:
- db
db:
2024-02-09 16:48:11 +03:00
image: postgres:16
2024-01-14 15:07:03 +03:00
container_name: db
environment:
- POSTGRES_USER=chebser
- POSTGRES_PASSWORD=Rehau-987
- POSTGRES_DB=rhsolutions
volumes:
- db-data:/var/lib/postgresql/data
2024-02-09 16:48:11 +03:00
- ./Database:/docker-entrypoint-initdb.d
2024-01-14 15:07:03 +03:00
networks:
- rhsolutions
networks:
rhsolutions:
volumes:
db-data: