-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDocker-compose.yml
More file actions
49 lines (45 loc) · 916 Bytes
/
Copy pathDocker-compose.yml
File metadata and controls
49 lines (45 loc) · 916 Bytes
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
version: "3.8"
services:
lucee:
image: lucee/lucee:5.4
container_name: brain_cfml
ports:
- "8500:8888"
environment:
- LUCEE_SERVER_ADMIN_PASSWORD=admin
- PYTHON_SERVICE_URL=http://python_ai:5000
volumes:
- ./cfml:/var/www
depends_on:
- python_ai
python_ai:
build:
context: ./python
container_name: brain_python
command: python ai_core.py
ports:
- "5000:5000"
volumes:
- ./python:/app
working_dir: /app
environment:
- PYTHONUNBUFFERED=1
db:
image: postgres:15
container_name: brain_db
restart: always
environment:
POSTGRES_USER: brain
POSTGRES_PASSWORD: secret
POSTGRES_DB: brain_ai
ports:
- "5432:5432"
volumes:
- brain_db_data:/var/lib/postgresql/data
services:
backend:
build: .
ports:
- "5000:5000"
volumes:
- .:/app