This commit is contained in:
		
							
								
								
									
										21
									
								
								resources/application.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								resources/application.conf
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,21 @@
 | 
			
		||||
ktor {
 | 
			
		||||
    deployment {
 | 
			
		||||
        port = 8080
 | 
			
		||||
        port = ${?PORT}
 | 
			
		||||
    }
 | 
			
		||||
    application {
 | 
			
		||||
        modules = [ com.kmalbz.ApplicationKt.module ]
 | 
			
		||||
    }
 | 
			
		||||
    db {
 | 
			
		||||
        jdbc = ${DB_URL}
 | 
			
		||||
        user = ${DB_USER}
 | 
			
		||||
        password = ${DB_PASSWORD}
 | 
			
		||||
    }
 | 
			
		||||
    mq{
 | 
			
		||||
        host = ${MQ_HOST}
 | 
			
		||||
        username = ${MQ_USERNAME}
 | 
			
		||||
        password = ${MQ_PASSWORD}
 | 
			
		||||
        exchange = "input"
 | 
			
		||||
        exchange = ${?MQ_EXCHANGE}
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										12
									
								
								resources/logback.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								resources/logback.xml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,12 @@
 | 
			
		||||
<configuration>
 | 
			
		||||
    <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
 | 
			
		||||
        <encoder>
 | 
			
		||||
            <pattern>%d{YYYY-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
 | 
			
		||||
        </encoder>
 | 
			
		||||
    </appender>
 | 
			
		||||
    <root level="trace">
 | 
			
		||||
        <appender-ref ref="STDOUT"/>
 | 
			
		||||
    </root>
 | 
			
		||||
    <logger name="org.eclipse.jetty" level="INFO"/>
 | 
			
		||||
    <logger name="io.netty" level="INFO"/>
 | 
			
		||||
</configuration>
 | 
			
		||||
		Reference in New Issue
	
	Block a user