Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add POSTGRES_DATABASE field to dockerfield and cd.yml build-args #22

Closed
Sddilora opened this issue Mar 28, 2024 · 0 comments · Fixed by #23
Closed

Add POSTGRES_DATABASE field to dockerfield and cd.yml build-args #22

Sddilora opened this issue Mar 28, 2024 · 0 comments · Fixed by #23
Assignees
Labels

Comments

@Sddilora
Copy link
Member

Sddilora commented Mar 28, 2024

Dockerfile

ENV POSTGRES_USERNAME=${POSTGRES_USERNAME}
ARG POSTGRES_PASSWORD
ENV POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
ARG JWT_SECRET_KEY
ENV JWT_SECRET_KEY=${JWT_SECRET_KEY}
ARG REDIS_PASSWORD
ENV REDIS_PASSWORD=${REDIS_PASSWORD}
ARG POSTGRES_DATABASE
ENV POSTGRES_DATABASE=${POSTGRES_DATABASE}

cd.yml

          build-args: |
            "POSTGRES_USERNAME=${{ secrets.POSTGRES_USERNAME }}"
            "POSTGRES_PASSWORD=${{ secrets.POSTGRES_PASSWORD }}"
            "JWT_SECRET_KEY=${{ secrets.JWT_SECRET_KEY }}"
            "REDIS_PASSWORD=${{ secrets.REDIS_PASSWORD }}"
            "POSTGRES_DATABASE=${{secrets.POSTGRES_DATABASE}}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants