mirror of
https://github.com/yusing/godoxy.git
synced 2026-01-11 21:10:30 +01:00
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:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user