flnxi-Wu/docker-compose.source-test.yml
2026-05-25 16:53:50 +08:00

25 lines
728 B
YAML

services:
postgres:
image: ${POSTGRES_IMAGE:-postgres:16}
pull_policy: never
minio:
image: ${MINIO_IMAGE:-minio/minio:RELEASE.2025-04-22T22-12-26Z}
pull_policy: never
minio-init:
image: ${MINIO_MC_IMAGE:-minio/mc:RELEASE.2025-04-16T18-13-26Z}
pull_policy: never
app:
image: ${APP_IMAGE:-flnxi-sucai-test-local:${IMAGE_TAG:-latest}}
pull_policy: never
build:
context: .
dockerfile: Dockerfile
args:
DATABASE_URL: ${DATABASE_URL:-postgresql://${POSTGRES_USER:-postgres}:${POSTGRES_PASSWORD}@postgres:5432/${POSTGRES_DB:-flnxi}}
NEXTAUTH_URL: ${NEXTAUTH_URL}
APP_PUBLIC_URL: ${APP_PUBLIC_URL}
APP_VERSION: ${APP_VERSION:-source-test}