Compare commits

...

2 Commits

Author SHA1 Message Date
jisangs 0cb4b19bc8 chocoadmin-stage 실행 URL 포트 지정 2026-09-09 14:53:00 +09:00
jisangs 321fe77107 로그인 화면에 버전 표시 2026-09-06 23:26:08 +09:00
4 changed files with 11 additions and 2 deletions
+5 -1
View File
@@ -2,6 +2,7 @@ import { redirect } from "next/navigation";
import { auth } from "@/auth";
import { Button } from "@/components/ui/button";
import { APP_VERSION } from "@/lib/version";
import { loginAction } from "./actions";
@@ -27,7 +28,10 @@ export default async function LoginPage({ searchParams }: LoginPageProps) {
<main className="flex min-h-screen items-center justify-center bg-muted px-6 py-10">
<section className="w-full max-w-md rounded-lg border bg-background p-8 shadow-sm">
<div className="mb-8">
<h1 className="text-2xl font-semibold tracking-normal">chocoadmin</h1>
<div className="flex items-baseline justify-between gap-3">
<h1 className="text-2xl font-semibold tracking-normal">chocoadmin</h1>
<span className="font-mono text-xs text-muted-foreground">{APP_VERSION}</span>
</div>
<p className="mt-2 text-sm text-muted-foreground"> </p>
</div>
+2
View File
@@ -17,6 +17,8 @@ services:
PORT: 3000
HOSTNAME: 0.0.0.0
TZ: Asia/Seoul
ports:
- "0.0.0.0:30011:3000"
networks:
- proxy-network
restart: unless-stopped
+3
View File
@@ -0,0 +1,3 @@
import pkg from "@/package.json";
export const APP_VERSION = `v${pkg.version}`;
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "chocoadmin",
"version": "0.1.0",
"version": "1.0.0",
"private": true,
"packageManager": "pnpm@10.29.3",
"scripts": {