-
Notifications
You must be signed in to change notification settings - Fork 0
Run Or Deploy With Docker
marcelreit edited this page Mar 30, 2026
·
1 revision
This project ships as a standard Next.js production server inside a Docker image.
- Docker (or compatible container runtime)
The image uses Node.js 22 (Alpine).
Use latest for quick testing. For production deployments, prefer a pinned version tag (for example vX.Y.Z or sha-abcdef0).
docker run --rm -p 3000:3000 \
-e NODE_ENV=production \
-e NEXT_PUBLIC_ENABLE_DEBUG_MODE=1 \
-e ENABLE_DEBUG_MODE=1 \
-e LOGO_DEV_TOKEN=... \
ghcr.io/redmotionmedia/tankify-frontend:latestOpen http://localhost:3000.
docker build -t tankify-frontend:local \
--build-arg NEXT_PUBLIC_APP_VERSION=dev \
.Set these when starting the container. They are not baked into the image.
-
NEXT_PUBLIC_ENABLE_DEBUG_MODE-
1shows debug UI controls even in production. - Evaluated at runtime via
GET /api/runtime-config(reload the page after changing).
-
-
ENABLE_DEBUG_MODE-
1enables server-side debug-only API features (for examplePOST /api/logo?action=clear).
-
-
LOGO_DEV_TOKEN- Token for logo.dev used by
GET /api/logofor higher-quality brand logos. - If not set,
/api/logofalls back to a favicon service.
- Token for logo.dev used by
-
LOGO_MAX_BYTES- Upper bound for downloaded logos (default 512 KiB; clamped to a sane max).
Example:
docker run --rm -p 3000:3000 \
-e NODE_ENV=production \
-e NEXT_PUBLIC_ENABLE_DEBUG_MODE=1 \
-e ENABLE_DEBUG_MODE=1 \
-e LOGO_DEV_TOKEN=... \
tankify-frontend:localservices:
tankify:
image: ghcr.io/redmotionmedia/tankify-frontend:latest
ports:
- "3000:3000"
environment:
NODE_ENV: production
NEXT_PUBLIC_ENABLE_DEBUG_MODE: "1"
ENABLE_DEBUG_MODE: "1"
LOGO_DEV_TOKEN: ${LOGO_DEV_TOKEN}- Listens on port
3000 - Entrypoint:
next start