forked from burnerlee/compextAI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
52 lines (51 loc) · 1.13 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
services:
compextai-db:
image: postgres:14
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: postgres
ports:
- 5433:5432
volumes:
- compextai-db-data:/var/lib/postgresql/data
networks:
- compextai-network
restart: always
compextai-server:
build:
context: compextAI-server/
dockerfile: Dockerfile
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=postgres
- POSTGRES_HOST=compextai-db
- POSTGRES_PORT=5432
- POSTGRES_SSL_MODE=disable
- SERVER_PORT=8888
- EXECUTOR_BASE_URL=http://compextai-executor:8889
depends_on:
- compextai-db
- compextai-executor
networks:
- compextai-network
ports:
- 8899:8888
restart: always
compextai-executor:
build:
context: compextAI-executor/
dockerfile: Dockerfile
environment:
- SERVER_PORT=8889
networks:
- compextai-network
ports:
- 8889:8889
restart: always
volumes:
compextai-db-data:
networks:
compextai-network:
driver: bridge