chore: update dev environment configuration and base images

- Changed API_SECRET to API_JWT_SECRET in dev.compose.yml
- Updated base image from alpine to debian in dev.Dockerfile
- Upgraded golang version from 1.25.2 to 1.25.3 in Dockerfile
This commit is contained in:
yusing
2025-10-25 23:31:53 +08:00
parent 6e7b571946
commit 964ba1eac1
3 changed files with 6 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
# Stage 1: deps
FROM golang:1.25.2-alpine AS deps
FROM golang:1.25.3-alpine AS deps
HEALTHCHECK NONE
# package version does not matter

View File

@@ -1,6 +1,6 @@
FROM alpine:3.22
FROM debian:bookworm-slim
RUN apk add --no-cache ca-certificates
RUN apt-get update && apt-get install -y ca-certificates
WORKDIR /app

View File

@@ -16,7 +16,7 @@ services:
API_SKIP_ORIGIN_CHECK: true
API_JWT_TTL: 24h
DEBUG: true
API_SECRET: 1234567891234567
API_JWT_SECRET: 1234567891234567
labels:
proxy.exclude: true
proxy.#1.healthcheck.disable: true
@@ -42,6 +42,8 @@ services:
configs:
- source: parca
target: /parca.yaml
labels:
proxy.#1.port: "7070"
tinyauth:
image: ghcr.io/steveiliop56/tinyauth:v3
container_name: tinyauth