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 | |
| parent | 8a091c913d75ed1b1ab7bc39f58f5b045718d373 (diff) | |
| download | nil.ninja-7c43355b8bbe9b9332024644792aa7fed05322af.tar.gz nil.ninja-7c43355b8bbe9b9332024644792aa7fed05322af.tar.zst nil.ninja-7c43355b8bbe9b9332024644792aa7fed05322af.zip | |
| -rw-r--r-- | Makefile | 27 | ||||
| -rw-r--r-- | mioproxy.prod.hcl | 10 | ||||
| -rw-r--r-- | services/nilink/Makefile.prod | 15 | ||||
| -rw-r--r-- | services/nilink/compose.yaml | 11 | ||||
| -rw-r--r-- | services/nilink/data/.gitignore | 2 |
5 files changed, 53 insertions, 12 deletions
@@ -10,26 +10,29 @@ provision: .PHONY: build build: - cd services/albatross-php-2024; make -f Makefile.prod build - cd vhosts/t/albatross-swift; make -f Makefile.prod build - cd vhosts/t/albatross-php-2025; make -f Makefile.prod build + cd services/albatross-php-2024; make -f Makefile.prod build + cd services/nilink; make -f Makefile.prod build + cd vhosts/t/albatross-swift; make -f Makefile.prod build + cd vhosts/t/albatross-php-2025; make -f Makefile.prod build cd vhosts/t/albatross-swift-2025; make -f Makefile.prod build - cd vhosts/t/phpcon-kagawa-2025; make -f Makefile.prod build + cd vhosts/t/phpcon-kagawa-2025; make -f Makefile.prod build .PHONY: serve serve: sudo systemctl start mioproxy - cd services/albatross-php-2024; make -f Makefile.prod serve - cd vhosts/t/albatross-swift; make -f Makefile.prod serve - cd vhosts/t/albatross-php-2025; make -f Makefile.prod serve + cd services/albatross-php-2024; make -f Makefile.prod serve + cd services/nilink; make -f Makefile.prod serve + cd vhosts/t/albatross-swift; make -f Makefile.prod serve + cd vhosts/t/albatross-php-2025; make -f Makefile.prod serve cd vhosts/t/albatross-swift-2025; make -f Makefile.prod serve - cd vhosts/t/phpcon-kagawa-2025; make -f Makefile.prod serve + cd vhosts/t/phpcon-kagawa-2025; make -f Makefile.prod serve .PHONY: clean clean: - cd vhosts/t/phpcon-kagawa-2025; make -f Makefile.prod clean + cd vhosts/t/phpcon-kagawa-2025; make -f Makefile.prod clean cd vhosts/t/albatross-swift-2025; make -f Makefile.prod clean - cd vhosts/t/albatross-php-2025; make -f Makefile.prod clean - cd vhosts/t/albatross-swift; make -f Makefile.prod clean - cd services/albatross-php-2024; make -f Makefile.prod clean + cd vhosts/t/albatross-php-2025; make -f Makefile.prod clean + cd vhosts/t/albatross-swift; make -f Makefile.prod clean + cd services/nilink; make -f Makefile.prod clean + cd services/albatross-php-2024; make -f Makefile.prod clean sudo systemctl stop mioproxy diff --git a/mioproxy.prod.hcl b/mioproxy.prod.hcl index 7a31dbb..2ab65ca 100644 --- a/mioproxy.prod.hcl +++ b/mioproxy.prod.hcl @@ -71,4 +71,14 @@ server https { port = 8005 } } + + proxy nilink { + from { + host = "go.nil.ninja" + } + to { + host = "127.0.0.1" + port = 8006 + } + } } 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 |
