0
0
RhSolutions-Api/docker-compose.yml
Serghei Cebotari e9e34c5fec
All checks were successful
Test and release / test (push) Successful in 1m44s
Test and release / release-image (push) Successful in 3m51s
Implement JWT tokens
2024-02-07 16:32:34 +03:00

35 lines
703 B
YAML

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
- ASPNETCORE_ENVIRONMENT=Development
networks:
- rhsolutions
volumes:
- ./RhSolutions.Api/MLModels:/app/MLModels
depends_on:
- db
db:
build: Database/.
container_name: db
environment:
- POSTGRES_USER=chebser
- POSTGRES_PASSWORD=Rehau-987
- POSTGRES_DB=rhsolutions
volumes:
- db-data:/var/lib/postgresql/data
networks:
- rhsolutions
networks:
rhsolutions:
volumes:
db-data: