Repository navigation
Expand file tree
/
Copy pathcompose.yaml
More file actions
77 lines (69 loc) 路 1.7 KB
/
Copy pathcompose.yaml
File metadata and controls
77 lines (69 loc) 路 1.7 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
65
66
67
68
69
70
71
72
73
74
75
76
77
# D茅crit les services Docker du projet.
name: flipnet
x-flipper: &flipper
image: flipnet-flipper:${FLIPNET_VERSION:-1.0.1}
build:
context: .
dockerfile: scripts/docker/flipper/Dockerfile
args:
FLIPNET_VERSION: "${FLIPNET_VERSION:-1.0.1}"
# DNS Docker sur Alpine
network: host
working_dir: /workspace/apps/flipper
volumes:
- .:/workspace
- ufbt-cache:/tmp/ufbt
environment:
UFBT_HOME: /tmp/ufbt
FLIPNET_HOST_DEV_ROOT: /host/dev
FLIPNET_HOST_SYS_ROOT: /host/sys
FLIPNET_FLIPPER_DEVICE: ${FLIPNET_FLIPPER_DEVICE:-}
# DNS h么te pour uFBT
network_mode: host
x-android: &android
image: flipnet-android:${FLIPNET_VERSION:-1.0.1}
build:
context: apps/android
dockerfile: Dockerfile
args:
FLIPNET_VERSION: "${FLIPNET_VERSION:-1.0.1}"
working_dir: /workspace/apps/android
volumes:
- .:/workspace
- android-signing:/tmp/android-signing
- android-adb:/root/.android
environment:
FLIPNET_SIGNING_STORE: /tmp/android-signing/flipnet-debug.p12
FLIPNET_SIGNING_ALIAS: flipnet-debug
FLIPNET_SIGNING_PASSWORD: flipnet-debug
services:
flipper-build:
<<: *flipper
command: ["build"]
flipper-launch:
<<: *flipper
command: ["launch"]
volumes:
- .:/workspace
- ufbt-cache:/tmp/ufbt
- /dev:/host/dev
- /sys:/host/sys:ro
privileged: true
stdin_open: true
tty: true
android-build:
<<: *android
command: ["build"]
android-install:
<<: *android
command: ["install"]
network_mode: host
privileged: true
stdin_open: true
tty: true
volumes:
ufbt-cache:
android-signing:
name: flipnet-android-signing
android-adb:
name: flipnet-android-adb