From 356869f4680394bfaac91c73838e495cf1ad14ce Mon Sep 17 00:00:00 2001
From: Eunhak Lee <lee@enak.kr>
Date: Tue, 3 Dec 2024 18:15:52 +0900
Subject: [PATCH] feat: add hacknote to hwinfo-daemon

---
 .gitignore         | 1 +
 docker-compose.yml | 4 ++++
 hwinfo/.gitkeep    | 0
 3 files changed, 5 insertions(+)
 create mode 100644 hwinfo/.gitkeep

diff --git a/.gitignore b/.gitignore
index db51a54..9ff0c93 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,6 +2,7 @@
 /redis/data
 /nginx/log
 /frontend
+/hwinfo/hacknote.json
 
 /*.sql
 
diff --git a/docker-compose.yml b/docker-compose.yml
index 74ef394..2546f4e 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -85,6 +85,10 @@ services:
     image: git.ajou.ac.kr:5050/meanspec/meanspec-hwinfo-daemon:latest
     env_file: .env
     restart: unless-stopped
+    volumes:
+      - "./hwinfo/hacknote.json:/hacknote.json"
+    environment:
+      HWINFO_HACKNOTE_FILE: /hacknote.json
     deploy:
       mode: replicated
       replicas: 6
diff --git a/hwinfo/.gitkeep b/hwinfo/.gitkeep
new file mode 100644
index 0000000..e69de29
-- 
GitLab