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 # Stage 1: deps
FROM golang:1.25.2-alpine AS deps FROM golang:1.25.3-alpine AS deps
HEALTHCHECK NONE HEALTHCHECK NONE
# package version does not matter # 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 WORKDIR /app

View File

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