Skip to content

Commit

Permalink
Test add logs sync for jobs. (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahmad45123 authored May 18, 2024
1 parent f57c9a7 commit 0822596
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
2 changes: 2 additions & 0 deletions compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ services:
- jobs
env_file:
- ./services/jobs/.env
volumes:
- /logs/jobs:/app/logs
deploy:
labels:
swarm.autoscaler: 'true'
Expand Down
20 changes: 20 additions & 0 deletions services/jobs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,26 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-log4j2</artifactId>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>2.17.1</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>2.13.0</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.13.0</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>2.13.0</version>
</dependency>
</dependencies>

<build>
Expand Down

0 comments on commit 0822596

Please sign in to comment.