-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
103 lines (94 loc) · 1.91 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
version: "3.4"
services:
qa-api:
build:
context: qa-api
dockerfile: Dockerfile
image: qa-api
restart: 'no'
volumes:
- ./qa-api/:/app
- ./app-cache/:/app-cache
expose:
- 7777
depends_on:
- database
- flyway
- redis
env_file:
- project.env
deploy:
replicas: 5
database:
container_name: database-server-dab-p2-b7c7d0d1-d2ff-4ef4-9553-e95ea3225629
image: postgres:14.1
restart: 'no'
env_file:
- project.env
flyway:
image: flyway/flyway:9.11.0-alpine
depends_on:
- database
volumes:
- ./flyway/sql/:/flyway/sql
command: -connectRetries=60 -baselineOnMigrate=true migrate
env_file:
- project.env
redis:
image: redis:latest
command: redis-server /usr/local/etc/redis/redis.conf
volumes:
- ./redis/redis.conf:/usr/local/etc/redis/redis.conf
expose:
- 6379
nginx:
image: nginx:latest
restart: on-failure
volumes:
- ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro
depends_on:
- qa-api
- qa-ui
ports:
- 7800:7800
qa-ui:
build:
context: qa-ui
dockerfile: Dockerfile
image: qa-ui
volumes:
- ./qa-ui/:/app
- astro_node_modules:/app/node_modules
restart: 'no'
expose:
- 3000
depends_on:
- qa-api
env_file:
- project.env
llm-api:
build:
context: llm-api
dockerfile: Dockerfile
image: llm-api
restart: 'no'
expose:
- 7000
volumes:
- ./llm-api/:/app
- ./app-cache/:/app-cache
deploy:
replicas: 5
e2e-playwright:
build:
context: e2e-playwright
dockerfile: Dockerfile
image: e2e-playwright
entrypoint: "/bin/true"
network_mode: host
depends_on:
- nginx
volumes:
- ./e2e-playwright/tests:/e2e-playwright/tests
volumes:
astro_node_modules: