Fix Docker build (golang:1.26-alpine), update env config for face service
This commit is contained in:
parent
5bce1bd39b
commit
ad0e78c9c9
10
.env.example
10
.env.example
@ -4,3 +4,13 @@ HATCH_HOSTNAME=hatch.example.com
|
|||||||
|
|
||||||
# Base URL for SSE and self-referencing links within the UI.
|
# Base URL for SSE and self-referencing links within the UI.
|
||||||
HATCH_BASE_URL=https://hatch.example.com
|
HATCH_BASE_URL=https://hatch.example.com
|
||||||
|
|
||||||
|
# AWS Rekognition Configuration (optional — set FACE_SERVICE_ENABLED=true to enable)
|
||||||
|
FACE_SERVICE_ENABLED=false
|
||||||
|
AWS_REGION=us-east-1
|
||||||
|
REKOGNITION_COLLECTION=hatch-faces
|
||||||
|
REKOGNITION_MAX_FACES=10
|
||||||
|
REKOGNITION_THRESHOLD=80.0
|
||||||
|
|
||||||
|
# Redis URL (optional — used for rate-limit backing store)
|
||||||
|
REDIS_URL=
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
# syntax=docker/dockerfile:1
|
# syntax=docker/dockerfile:1
|
||||||
|
|
||||||
# ---- build stage ----
|
# ---- build stage ----
|
||||||
FROM golang:1.25-alpine AS build
|
FROM golang:1.26-alpine AS build
|
||||||
|
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user