blob: 71202ec6331335d3d39cd2913a4d0f62ff601c92 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
version: '3'
services:
app:
build: .
container_name: app
ports:
- 8080:8080
environment:
- DB_HOST=db
- DB_PORT=5432
- DB_DATABASE=rhsolutions
- DB_USER=chebser
- DB_PASSWORD=Rehau-987
networks:
- rhsolutions
volumes:
- ./RhSolutions.Api/MLModels:/app/MLModels
depends_on:
- db
db:
image: postgres:16
container_name: db
environment:
- POSTGRES_USER=chebser
- POSTGRES_PASSWORD=Rehau-987
- POSTGRES_DB=rhsolutions
volumes:
- db-data:/var/lib/postgresql/data
- ./Database:/docker-entrypoint-initdb.d
networks:
- rhsolutions
networks:
rhsolutions:
volumes:
db-data:
|