From 964ba1eac122c1d3cdbf91efbcc6e507c5767930 Mon Sep 17 00:00:00 2001 From: yusing Date: Sat, 25 Oct 2025 23:31:53 +0800 Subject: [PATCH] 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 --- Dockerfile | 2 +- dev.Dockerfile | 4 ++-- dev.compose.yml | 4 +++- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 40f4ec2c..2e63ab1c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/dev.Dockerfile b/dev.Dockerfile index ff43a622..c49ef26d 100644 --- a/dev.Dockerfile +++ b/dev.Dockerfile @@ -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 diff --git a/dev.compose.yml b/dev.compose.yml index 36b0c1bc..bb964921 100644 --- a/dev.compose.yml +++ b/dev.compose.yml @@ -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