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

Adding new env #320

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Java/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ A series of Java components supporting the digital forms Driving Prohibition Rev
Presently, the following services are hosted in this folder:

- Email Service
- Antivirus / malware scanner.
- Antivirus / malware scanner
10 changes: 10 additions & 0 deletions web_app/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,16 @@
# Use the official Node.js image as base
FROM node:18-alpine

ENV EMAIL_BASE_URL=$EMAIL_BASE_URL
ENV EMAIL_BASIC_AUTH=$EMAIL_BASIC_AUTH
ENV EMAIL_BASIC_AUTH_USER=$EMAIL_BASIC_AUTH_USER
ENV CLAMAV_VIRUS_SCAN_URL=$CLAMAV_VIRUS_SCAN_URL
ENV CLAMAV_CLIENT_BASIC_AUTH_USER=$CLAMAV_CLIENT_BASIC_AUTH_USER
ENV CLAMAV_CLIENT_BASIC_AUTH=$CLAMAV_CLIENT_BASIC_AUTH
ENV FLASK_API_ENDPOINT=$FLASK_API_ENDPOINT
ENV FLASK_BASIC_AUTH_USER=$FLASK_BASIC_AUTH_USER
ENV FLASK_BASIC_AUTH_PASS=$FLASK_BASIC_AUTH_PASS

# Set the working directory inside the container
WORKDIR /app

Expand Down
Loading