Files
haiyushuke-website/scripts/docker/docker-compose.yml
2026-06-16 14:34:09 +08:00

15 lines
510 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 服务器部署docker compose pull && up镜像由 build-push.ps1 推送)
# 自测: curl -sI "https://docker-registry.tianyuanapi.com/v2/haiyushuke/website/manifests/latest"
services:
website:
image: ${REGISTRY}/${IMAGE_PATH}:latest
container_name: ${CONTAINER_NAME}
restart: unless-stopped
ports:
- "${HOST_PORT}:3000"
environment:
NODE_ENV: production
NEXT_PUBLIC_SITE_URL: ${NEXT_PUBLIC_SITE_URL}
BAIDU_SITE_VERIFICATION: ${BAIDU_SITE_VERIFICATION:-}