Deploy to Vercel
1
Import the repository
Click the button below, or import
cokice/japanese-analyzer in Vercel.Deploy with Vercel
Create a new Vercel project from the GitHub repository.
2
Configure environment variables
In your project, open Settings → Environment Variables and add at least
DEEPSEEK_API_KEY.Add GEMINI_API_KEY if you need Gemini models or Gemini TTS. Add CODE if you need an access password. For the full list, see Configuration.3
Redeploy
Trigger a new deployment, then open the domain that Vercel assigns.
Use Docker Compose
The official imagehowenhowen/japanese-analyzer supports linux/amd64 and linux/arm64. The container listens on port 3002.
1
Prepare a directory
docker-compose.hub.yml directly.2
Create the configuration file
Create Restrict the file permissions so other users can’t read it:
.env.production and fill in at least one key:.env.production
3
Start the service
4
Verify
running, the logs show no errors, and curl returns 200. Open http://<server-IP>:3002 to use the app.restart: unless-stopped, so the container starts automatically after the server reboots.
Contents of docker-compose.hub.yml
Contents of docker-compose.hub.yml
DOCKER_IMAGE environment variable to use a different image tag, such as a version tag or a sha-<commit> tag. For the available tags, see Image tags.Change the port
If port3002 is already in use on the host, change the host port on the left side of ports. Keep the container port unchanged:
Build the image from source
The repository’sdocker-compose.yml builds the image from the local Dockerfile:
Use docker run
Update to the latest version
- Docker Compose
- docker run
- Vercel
Set up a domain and HTTPS
Once the container is running, you can add a domain and HTTPS:1
Point the domain
Point the domain’s A record to the server’s public IP. Open ports
80 and 443 in your cloud provider’s security group and the system firewall.2
Check for an existing web server
3
Configure a reverse proxy
4
Verify
