-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
52 lines (50 loc) · 1.56 KB
/
docker-compose.yml
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
version: '3.9'
networks:
in-meal-network:
driver: bridge
services:
inmeal-backend:
container_name: inmeal-backend
image: inmeal/backend
build:
dockerfile: ./apps/InMeal.Api/Dockerfile
restart: unless-stopped
ports:
- '${API_PORT}:7078'
depends_on:
- inmeal-generative-recipe-images
environment:
ASPNETCORE_URLS: 'http://+:7078'
ConnectionStrings__InMealDbConnection: ${DATABASE_CONNECTION}
ConnectionStrings__ServerVersionMajor: ${DATABASE_VERSION_MAJOR}
ConnectionStrings__ServerVersionMinor: ${DATABASE_VERSION_MINOR}
ConnectionStrings__ServerVersionBuild: ${DATABASE_VERSION_BUILD}
LogLevel__Default: ${LOG_LEVEL}
networks:
- in-meal-network
inmeal-frontend:
container_name: inmeal-frontend
image: inmeal/frontend
build:
dockerfile: ./apps/fui/Dockerfile
restart: unless-stopped
ports:
- '${SPA_PORT}:80'
depends_on:
- inmeal-backend
- inmeal-generative-recipe-images
networks:
- in-meal-network
inmeal-generative-recipe-images:
container_name: inmeal-gri
image: inmeal/gri
restart: unless-stopped
ports:
- '${MICROSERVICE_PORT}:8131'
environment:
ENVIRONMENT: 'production'
LOG_LEVEL: ${LOG_LEVEL}
build:
context: ./apps/gri
networks:
- in-meal-network