-
Notifications
You must be signed in to change notification settings - Fork 714
/
Copy pathdocker-compose.yml
45 lines (41 loc) · 907 Bytes
/
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
version: '2'
services:
migrate:
container_name: migrate
image: alfredfrancis/ai-chatbot-framework_backend:latest
command: python manage.py migrate
environment:
APPLICATION_ENV: Production
depends_on:
- mongodb
frontend:
container_name: frontend
image: alfredfrancis/ai-chatbot-framework_frontend:latest
hostname: frontend
restart: always
ports:
- "3000:3000"
depends_on:
- backend
backend:
container_name: backend
image: alfredfrancis/ai-chatbot-framework_backend:latest
hostname: backend
restart: always
environment:
APPLICATION_ENV: Production
ports:
- "8080:80"
depends_on:
- migrate
- mongodb
mongodb:
container_name: mongodb
image: mongo:4.2.20
hostname: mongodb
ports:
- "27017:27017"
volumes:
- mongodbdata:/data
volumes:
mongodbdata: