-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathprocess-compose.yml
More file actions
49 lines (48 loc) · 1.78 KB
/
process-compose.yml
File metadata and controls
49 lines (48 loc) · 1.78 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
version: "0.5"
processes:
firebase-emulators:
description: This process runs the local firebase emulators used in the project.
command: firebase emulators:start --project demo-bdt-dev --only auth,storage,firestore --import ./emulator-data --export-on-exit
ready_log_line: "All emulators ready!"
log_location: ./logs/firebase-emulators.log
library-api:
description: This process runs the library-api in dev mode on port ${QUARKUS_HTTP_PORT}.
command: quarkus dev -Ddebug=false
working_dir: library-api/
environment:
- "QUARKUS_CONSOLE_COLOR=true"
ready_log_line: "Listening on: http://"
log_location: ./logs/library-api.log
sync-library-metadata:
description: Sync library check metadata from library-api to Firebase Storage
command: ./bin/library/sync-metadata
depends_on:
library-api:
condition: process_log_ready
firebase-emulators:
condition: process_log_ready
availability:
restart: on_failure
max_restarts: 1
log_location: ./logs/sync-library-metadata.log
builder-api:
description: This process runs the builder-api in dev mode on port ${QUARKUS_HTTP_PORT}.
command: quarkus dev -Ddebug=5005
working_dir: builder-api/
environment:
- "QUARKUS_CONSOLE_COLOR=true"
ready_log_line: "Listening on: http://"
depends_on:
sync-library-metadata:
condition: process_completed_successfully
firebase-emulators:
condition: process_log_ready
log_location: ./logs/builder-api.log
builder-frontend:
description: This process runs the builder-frontend in dev mode.
command: npm run dev -- --host
working_dir: builder-frontend/
depends_on:
builder-api:
condition: process_log_ready
log_location: ./logs/builder-frontend.log