forked from airbytehq/airbyte
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.debug.yaml
44 lines (44 loc) · 1.46 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
# 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/web:1.13.0
# logging: *default-logging
# container_name: airbyte-temporal-ui
# restart: unless-stopped
# environment:
# - TEMPORAL_GRPC_ENDPOINT=airbyte-temporal:7233
# - TEMPORAL_PERMIT_WRITE_API=true
# ports:
# - 8012:8088
# 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 DEBUG_SERVER_JAVA_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