forked from airbytehq/airbyte
-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.build-m1.yaml
74 lines (72 loc) · 2.15 KB
/
docker-compose.build-m1.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
# This file is exactly the same as docker-compose.build.yaml, except
# that it specifies the platform. This is a temporary solution for M1
# Mac computers. The platform option is required for M1 users to build
# the project. However, currently, our Github Action runner has an old
# version of docker-compose, which does not support this option. Once
# we upgrade the docker-compose in the runners, we should delete this file.
# Issue: https://github.com/airbytehq/airbyte/issues/7191
version: "3.7"
services:
init:
platform: linux/amd64
image: airbyte/init:${VERSION}
build:
dockerfile: Dockerfile
context: airbyte-config/init
labels:
io.airbyte.git-revision: ${GIT_REVISION}
bootloader:
platform: linux/amd64
image: airbyte/bootloader:${VERSION}
build:
dockerfile: Dockerfile
context: airbyte-bootloader
labels:
io.airbyte.git-revision: ${GIT_REVISION}
db:
platform: linux/amd64
image: airbyte/db:${VERSION}
build:
dockerfile: Dockerfile
context: airbyte-db/lib
labels:
io.airbyte.git-revision: ${GIT_REVISION}
scheduler:
platform: ${DOCKER_BUILD_PLATFORM}
image: airbyte/scheduler:${VERSION}
build:
dockerfile: Dockerfile
args:
JDK_VERSION: ${JDK_VERSION}
context: airbyte-scheduler/app
labels:
io.airbyte.git-revision: ${GIT_REVISION}
worker:
platform: ${DOCKER_BUILD_PLATFORM}
image: airbyte/worker:${VERSION}
build:
dockerfile: Dockerfile
args:
DOCKER_BUILD_ARCH: ${DOCKER_BUILD_ARCH}
JDK_VERSION: ${JDK_VERSION}
context: airbyte-workers
labels:
io.airbyte.git-revision: ${GIT_REVISION}
server:
platform: ${DOCKER_BUILD_PLATFORM}
image: airbyte/server:${VERSION}
build:
dockerfile: Dockerfile
args:
JDK_VERSION: ${JDK_VERSION}
context: airbyte-server
labels:
io.airbyte.git-revision: ${GIT_REVISION}
webapp:
platform: linux/amd64
image: airbyte/webapp:${VERSION}
build:
dockerfile: Dockerfile
context: airbyte-webapp
labels:
io.airbyte.git-revision: ${GIT_REVISION}