-
Notifications
You must be signed in to change notification settings - Fork 14
/
docker-compose.yaml
91 lines (87 loc) · 2.92 KB
/
docker-compose.yaml
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
services:
ui-builder:
container_name: ui-builder
build:
context: .
dockerfile: Dockerfile.ui-builder
environment:
COMMON_UI_BUILD_FOLDER: /ui-build
IS_BFX_API_STAGING: ${IS_BFX_API_STAGING:-0}
IS_DEV_ENV: ${IS_DEV_ENV:-0}
CURRENT_UID: ${CURRENT_UID:-"1000:1000"}
volumes:
- ui-build:/ui-build
linux-builder:
container_name: linux-builder
build:
context: .
dockerfile: Dockerfile.linux-builder
environment:
ELECTRON_CACHE: /root/.cache/electron
ELECTRON_BUILDER_CACHE: /root/.cache/electron-builder
COMMON_UI_BUILD_FOLDER: /ui-build
COMMON_DIST_FOLDER: /dist
IS_BFX_API_STAGING: ${IS_BFX_API_STAGING:-0}
IS_DEV_ENV: ${IS_DEV_ENV:-0}
IS_AUTO_UPDATE_DISABLED: ${IS_AUTO_UPDATE_DISABLED:-0}
IS_PUBLISHED: ${IS_PUBLISHED:-0}
GH_TOKEN: ${GH_TOKEN:-}
GITHUB_TOKEN: ${GITHUB_TOKEN:-}
REPO_OWNER: ${REPO_OWNER:-}
EP_GH_IGNORE_TIME: ${EP_GH_IGNORE_TIME:-true}
CURRENT_UID: ${CURRENT_UID:-"1000:1000"}
volumes:
- ui-build:/ui-build
- ./dist:/dist
- ~/.cache/electron:/root/.cache/electron
- ~/.cache/electron-builder:/root/.cache/electron-builder
win-builder:
container_name: win-builder
build:
context: .
dockerfile: Dockerfile.win-builder
environment:
ELECTRON_CACHE: /root/.cache/electron
ELECTRON_BUILDER_CACHE: /root/.cache/electron-builder
COMMON_UI_BUILD_FOLDER: /ui-build
COMMON_DIST_FOLDER: /dist
IS_BFX_API_STAGING: ${IS_BFX_API_STAGING:-0}
IS_DEV_ENV: ${IS_DEV_ENV:-0}
IS_AUTO_UPDATE_DISABLED: ${IS_AUTO_UPDATE_DISABLED:-0}
IS_PUBLISHED: ${IS_PUBLISHED:-0}
GH_TOKEN: ${GH_TOKEN:-}
GITHUB_TOKEN: ${GITHUB_TOKEN:-}
REPO_OWNER: ${REPO_OWNER:-}
EP_GH_IGNORE_TIME: ${EP_GH_IGNORE_TIME:-true}
CURRENT_UID: ${CURRENT_UID:-"1000:1000"}
volumes:
- ui-build:/ui-build
- ./dist:/dist
- ~/.cache/electron:/root/.cache/electron
- ~/.cache/electron-builder:/root/.cache/electron-builder
mac-builder:
container_name: mac-builder
build:
context: .
dockerfile: Dockerfile.mac-builder
environment:
ELECTRON_CACHE: /root/.cache/electron
ELECTRON_BUILDER_CACHE: /root/.cache/electron-builder
COMMON_UI_BUILD_FOLDER: /ui-build
COMMON_DIST_FOLDER: /dist
IS_BFX_API_STAGING: ${IS_BFX_API_STAGING:-0}
IS_DEV_ENV: ${IS_DEV_ENV:-0}
IS_AUTO_UPDATE_DISABLED: ${IS_AUTO_UPDATE_DISABLED:-0}
IS_PUBLISHED: ${IS_PUBLISHED:-0}
GH_TOKEN: ${GH_TOKEN:-}
GITHUB_TOKEN: ${GITHUB_TOKEN:-}
REPO_OWNER: ${REPO_OWNER:-}
EP_GH_IGNORE_TIME: ${EP_GH_IGNORE_TIME:-true}
CURRENT_UID: ${CURRENT_UID:-"1000:1000"}
volumes:
- ui-build:/ui-build
- ./dist:/dist
- ~/.cache/electron:/root/.cache/electron
- ~/.cache/electron-builder:/root/.cache/electron-builder
volumes:
ui-build: