diff --git a/config/combined-worker-compose.yaml b/config/combined-worker-compose.yaml index e5b0ac2d..3cfdacc6 100644 --- a/config/combined-worker-compose.yaml +++ b/config/combined-worker-compose.yaml @@ -54,8 +54,14 @@ services: - postgresql - kafka - kafka-create-topics + volumes: + - ../config:/config + - ../logs:/logs environment: JAVA_TOOL_OPTIONS: -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005 + LOG4J_CONFIG_FILE: config/log4j2.xml + CONSOLE_LOG_LEVEL: info + ENABLE_LOG4J2_DEBUG: false command: [ "-mbus.busType=KAFKA", "-mbootstrap.servers=kafka:29092", @@ -69,4 +75,4 @@ services: ports: - 8888:8888 - 7004:7004 - - 5005:5005 \ No newline at end of file + - 5005:5005 diff --git a/config/log4j2.xml b/config/log4j2.xml index 909222c8..4e297be8 100644 --- a/config/log4j2.xml +++ b/config/log4j2.xml @@ -46,6 +46,7 @@ + \ No newline at end of file