diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-02-10 20:37:48 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-02-10 20:37:48 +0900 |
| commit | 7c43355b8bbe9b9332024644792aa7fed05322af (patch) | |
| tree | 5a1fa0519767ba1ae097302a2e896060bf684f01 /services | |
| parent | 8a091c913d75ed1b1ab7bc39f58f5b045718d373 (diff) | |
| download | nil.ninja-7c43355b8bbe9b9332024644792aa7fed05322af.tar.gz nil.ninja-7c43355b8bbe9b9332024644792aa7fed05322af.tar.zst nil.ninja-7c43355b8bbe9b9332024644792aa7fed05322af.zip | |
Diffstat (limited to 'services')
| -rw-r--r-- | services/nilink/Makefile.prod | 15 | ||||
| -rw-r--r-- | services/nilink/compose.yaml | 11 | ||||
| -rw-r--r-- | services/nilink/data/.gitignore | 2 |
3 files changed, 28 insertions, 0 deletions
diff --git a/services/nilink/Makefile.prod b/services/nilink/Makefile.prod new file mode 100644 index 0000000..f78efa4 --- /dev/null +++ b/services/nilink/Makefile.prod @@ -0,0 +1,15 @@ +.PHONY: build +build: + docker compose build + +.PHONY: serve +serve: + docker compose up -d + +.PHONY: clean +clean: + docker compose down + +.PHONY: logs +logs: + docker compose logs diff --git a/services/nilink/compose.yaml b/services/nilink/compose.yaml new file mode 100644 index 0000000..1aed996 --- /dev/null +++ b/services/nilink/compose.yaml @@ -0,0 +1,11 @@ +services: + nilink: + image: ghcr.io/nsfisis/nilink:0.1.1 + container_name: nilink + ports: + - '127.0.0.1:8006:8080' + volumes: + - ./data:/app/data + environment: + TZ: Asia/Tokyo + restart: always diff --git a/services/nilink/data/.gitignore b/services/nilink/data/.gitignore new file mode 100644 index 0000000..d6b7ef3 --- /dev/null +++ b/services/nilink/data/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore |
