forked from airbytehq/airbyte-platform
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.debug.yaml
52 lines (52 loc) · 1.83 KB
/
docker-compose.debug.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
# Adds ports to the db and access to the temporal UI for debugging purposes.
# Expected to be used like this:
# VERSION=dev docker compose -f docker-compose.yaml -f docker-compose.debug.yaml up
version: "3.8"
x-logging: &default-logging
options:
max-size: "100m"
max-file: "5"
driver: json-file
services:
db:
ports:
- 8011:5432
networks:
- airbyte_internal
- airbyte_public
airbyte-temporal-ui:
image: temporalio/ui:2.21.3
logging: *default-logging
container_name: airbyte-temporal-ui
restart: unless-stopped
environment:
- TEMPORAL_ADDRESS=airbyte-temporal:7233
- TEMPORAL_CORS_ORIGINS=true
ports:
- 8012:8080
networks:
- airbyte_internal
- airbyte_public
worker:
environment:
- JAVA_TOOL_OPTIONS=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5006
- DEBUG_CONTAINER_IMAGE=${DEBUG_CONTAINER_IMAGE}
- DEBUG_CONTAINER_JAVA_OPTS=-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=*
ports:
- 5006:5006
server:
# You will need to create a remote JVM debugging Run Configuration
# If you're on a Mac you will need to obtain the IP address of the container
# The value of JAVA_TOOL_OPTIONS should be the same as DEBUG_CONTAINER_JAVA_OPTS above
environment:
- JAVA_TOOL_OPTIONS=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5007
ports:
- 5007:5007
airbyte-connector-builder-server:
# You will need to create a remote JVM debugging Run Configuration
# If you're on a Mac you will need to obtain the IP address of the container
# The value of JAVA_TOOL_OPTIONS should be the same as DEBUG_CONTAINER_JAVA_OPTS above
environment:
- JAVA_TOOL_OPTIONS=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5008
ports:
- 5008:5008