-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
69 lines (62 loc) · 1.54 KB
/
docker-compose.yml
File metadata and controls
69 lines (62 loc) · 1.54 KB
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
version: '3.1'
services:
web-app:
build: Services\WebApp
container_name: web-app
ports:
- "5050:5050"
environment:
NODE_ENV: production
ai-extraction-service:
build:
context: ./
dockerfile: ./Services/AiExtractionService/Api/Dockerfile
container_name: ai-extraction-service
environment:
- ENV=production
- ASPNETCORE_URLS=http://+:80
ports:
- "5001:80"
account-db:
image: mongo
container_name: account-db
ports:
- "8080:27017"
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: mongopwd
mongo-express:
image: mongo-express
container_name: mongo-web-viewer
ports:
- "8081:8081"
environment:
ME_CONFIG_MONGODB_ADMINUSERNAME: root
ME_CONFIG_MONGODB_ADMINPASSWORD: mongopwd
ME_CONFIG_MONGODB_URL: mongodb://root:mongopwd@account-db:27017/
links:
- account-db
depends_on:
- account-db
db:
image: mysql:8.0
container_name: db
command: --default-authentication-plugin=mysql_native_password
environment:
MYSQL_ROOT_PASSWORD: rootpassword
MYSQL_DATABASE: ai_service_database
MYSQL_USER: my_user
MYSQL_PASSWORD: my_password
ports:
- "5053:3306"
ai-register:
build: Services\AI-Register\AI-Register
container_name: ai-register-service
volumes:
- type: bind
source: ./files
target: /path/in/container
environment:
- ASPNETCORE_URLS=http://+:8080
ports:
- "5052:8080"