-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathdocker-compose.ci.yml
More file actions
46 lines (42 loc) · 987 Bytes
/
docker-compose.ci.yml
File metadata and controls
46 lines (42 loc) · 987 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
services:
api_smoke_test:
extends:
file: common-services.yml
service: api
depends_on:
postgres_db_dev:
condition: service_healthy
# should this depentd on: run_migrations?
command: >
bash -c "node dist/apps/sdvv-backend-nest/main"
profiles:
- smoke-test
run_migrations:
extends:
file: common-services.yml
service: run_migrations
depends_on:
postgres_db_dev:
condition: service_healthy
profiles:
- migrations
postgres_db_dev:
extends:
file: common-services.yml
service: postgres_base
command: >
-c ssl=on
-c ssl_cert_file=/etc/ssl/private/server.crt
-c ssl_key_file=/etc/ssl/private/server.key
profiles:
- smoke-test
- migrations
test_service:
extends:
file: common-services.yml
service: tester
depends_on:
api_smoke_test:
condition: service_healthy
profiles:
- smoke-test