diff options
Diffstat (limited to 'services/nilink')
| -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 |
