Skip to content

Commit

Permalink
action fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mguptahub committed Jun 25, 2024
1 parent 6a22edd commit ae2f811
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion aio/Dockerfile-base-full
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ RUN mkdir -p /app/{data,logs} && \
# Create Supervisor configuration file
COPY supervisord-full-base /app/supervisord.conf
COPY nginx.conf /etc/nginx/nginx.conf.template
COPY ./nginx/env.sh /app/nginx-start.sh
COPY env.sh /app/nginx-start.sh
RUN chmod +x /app/nginx-start.sh

RUN sudo -u postgres /usr/lib/postgresql/$POSTGRES_VERSION/bin/initdb -D /var/lib/postgresql/data
Expand Down
2 changes: 1 addition & 1 deletion aio/Dockerfile-base-slim
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ RUN mkdir -p /app/{data,logs} && \
# Create Supervisor configuration file
COPY supervisord-slim-base /app/supervisord.conf
COPY nginx.conf /etc/nginx/nginx.conf.template
COPY ./nginx/env.sh /app/nginx-start.sh
COPY env.sh /app/nginx-start.sh
RUN chmod +x /app/nginx-start.sh

# Expose ports for Redis, PostgreSQL, and MinIO
Expand Down
7 changes: 7 additions & 0 deletions aio/env.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/sh

export dollar="$"
export http_upgrade="http_upgrade"
export scheme="scheme"
envsubst < /etc/nginx/nginx.conf.template > /etc/nginx/nginx.conf
exec nginx -g 'daemon off;'

0 comments on commit ae2f811

Please sign in to comment.