2026-06-26 10:51:01 +08:00
|
|
|
services:
|
|
|
|
|
app:
|
|
|
|
|
build:
|
|
|
|
|
context: .
|
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
|
container_name: inspection-host-computer
|
|
|
|
|
ports:
|
2026-07-22 15:03:56 +08:00
|
|
|
- "${VITE_SERVICE_PORT:-5175}:${VITE_SERVICE_PORT:-5175}"
|
2026-06-26 10:51:01 +08:00
|
|
|
environment:
|
2026-07-22 15:03:56 +08:00
|
|
|
NODE_ENV: production
|
|
|
|
|
VITE_SERVICE_PORT: "${VITE_SERVICE_PORT:-5175}"
|
|
|
|
|
HTTPS_ENABLED: "true"
|
|
|
|
|
HTTPS_CERT_FILE: "/certs/${HTTPS_CERT_FILENAME:-cert.pem}"
|
|
|
|
|
HTTPS_KEY_FILE: "/certs/${HTTPS_KEY_FILENAME:-key.pem}"
|
|
|
|
|
volumes:
|
|
|
|
|
- /home/cmvr/zh/mkcert:/certs:ro
|
|
|
|
|
restart: unless-stopped
|