# 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