-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathdocker-compose.updater.yml
More file actions
64 lines (59 loc) · 1.34 KB
/
docker-compose.updater.yml
File metadata and controls
64 lines (59 loc) · 1.34 KB
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
services:
updater:
extends:
file: common-services.yml
service: updater
build:
target: production
environment:
CI: true
COMMAND: ${CONSOLE_COMMAND}
command: >
bash -c "node dist/apps/update-command/main"
depends_on:
postgres_db_dev:
condition: service_healthy
profiles:
- process-commands
updater-ci:
extends:
file: common-services.yml
service: updater
build:
target: production
environment:
CI: true
COMMAND: ${CONSOLE_COMMAND}
DATABASE_URL:
command: >
bash -c "node dist/apps/update-command/main"
profiles:
- process-commands-in-ci
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:
- process-commands
test_service:
extends:
file: common-services.yml
service: tester
depends_on:
updater:
condition: service_completed_successfully
profiles:
- process-commands
test_service_ci:
extends:
file: common-services.yml
service: tester
depends_on:
updater-ci:
condition: service_completed_successfully
profiles:
- process-commands-in-ci