Replace compose runtime with scoped kind deployment
This commit is contained in:
parent
1b1d8b06c7
commit
0f888986d7
1 changed files with 457 additions and 146 deletions
18
Dockerfile
18
Dockerfile
|
|
@ -31,23 +31,13 @@ RUN apt-get update \
|
|||
libpq5 \
|
||||
ca-certificates \
|
||||
curl \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& groupadd --system --gid 10001 nuthatch \
|
||||
&& useradd --system --uid 10001 --gid 10001 --no-create-home nuthatch
|
||||
|
||||
WORKDIR /app
|
||||
COPY sql ./sql
|
||||
|
||||
ENV NUTHATCH_LISTEN=0.0.0.0:8080 \
|
||||
NUTHATCH_PUBLIC_BASE_URL=http://127.0.0.1:8080 \
|
||||
NUTHATCH_JWT_SECRET=dev-only-change-me-to-a-long-random-string \
|
||||
NUTHATCH_PG_CONN="host=postgres port=5432 user=nuthatch password=nuthatch dbname=nuthatch" \
|
||||
NUTHATCH_REDIS_URL=redis://redis:6379/0 \
|
||||
NUTHATCH_S3_ENDPOINT=http://minio:9000 \
|
||||
NUTHATCH_S3_REGION=us-east-1 \
|
||||
NUTHATCH_S3_BUCKET=nuthatch \
|
||||
NUTHATCH_S3_ACCESS_KEY=minioadmin \
|
||||
NUTHATCH_S3_SECRET_KEY=minioadmin \
|
||||
NUTHATCH_S3_PATH_STYLE=true \
|
||||
NUTHATCH_AUTH_MODE=dev
|
||||
USER 10001:10001
|
||||
|
||||
FROM runtime-base AS test-runtime
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue