Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
mguptahub committed Jun 27, 2024
1 parent 92ca5b2 commit 2393ea0
Showing 1 changed file with 4 additions and 17 deletions.
21 changes: 4 additions & 17 deletions aio/Dockerfile-app
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,11 @@ ENV POSTGRES_DB="plane"
ENV POSTGRES_HOST="localhost"
ENV POSTGRES_PORT="5432"
ENV DATABASE_URL="postgresql://plane:plane@localhost:5432/plane"

ENV REDIS_HOST="localhost"
ENV REDIS_PORT="6379"
ENV REDIS_URL="redis://localhost:6379"

ENV USE_MINIO="1"
ENV AWS_REGION=""
ENV AWS_ACCESS_KEY_ID="access-key"
Expand All @@ -174,23 +178,6 @@ ENV MINIO_ROOT_PASSWORD="secret-key"
ENV BUCKET_NAME="uploads"
ENV FILE_SIZE_LIMIT="5242880"

RUN if [ "$BUILD_TYPE" = "slim" ]; then \
POSTGRES_USER=""; \
POSTGRES_PASSWORD=""; \
POSTGRES_HOST=""; \
DATABASE_URL=""; \
REDIS_URL=""; \
USE_MINIO="0"; \
AWS_REGION=""; \
AWS_ACCESS_KEY_ID=""; \
AWS_SECRET_ACCESS_KEY=""; \
AWS_S3_ENDPOINT_URL=""; \
AWS_S3_BUCKET_NAME=""; \
BUCKET_NAME=""; \
MINIO_ROOT_USER=""; \
MINIO_ROOT_PASSWORD=""; \
fi

# *****************************************************************************

RUN /app/pg-setup.sh
Expand Down

0 comments on commit 2393ea0

Please sign in to comment.