Skip to content

usnistgov/hl7v2-codeset-authoring-tool-deployment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

Environment Configuration

To set up the environment for the application, create a deployment.env file in the appropriate folder based on the environment needs. Use containers/apps/prod/env for production and containers/apps/dev/env for development. This file will contain the necessary environment variables required for the application to run.

Steps to Create the deployment.env File

  1. Navigate to the appropriate folder:
    • For production: containers/apps/prod/env
    • For development: containers/apps/dev/env
  2. Create a new file named deployment.env.
  3. Add the required environment variables to the deployment.env file.

Example of a deployment.env File

Below is an example of what the deployment.env file might look like:

# Database configuration
CODESET_AUTHORING_TOOL_PORT=9000
POSTGRES_USER=postgres-user
POSTGRES_PASSWORD=postgres-password
POSTGRES_DB=example-db
POSTGRES_URL=jdbc:postgresql://example-db-url:5432/example-db
ADMIN_USER_PASSWORD=admin-password
JWT_SECRET=jwt-secret
[email protected]
[email protected]
EMAIL_HOST=smtp.host
EMAIL_PROTOCOL=smtp
SMTP_PORT=25

Make sure to replace the placeholder values with the actual values for your environment.

Important Notes

  • Ensure that the deployment.env file is not committed to version control to avoid exposing sensitive information.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages