DEFRA/ivory-front-office

View on GitHub
.env.example

Summary

Maintainability
Test Coverage
# You’ll need to set the following in either your environment or in this .env file in the root of the project
# Ivory service environment variables:

# Empty value defaults to ‘development’ (this must be explicitly set for airbrake/errbit logging)
#NODE_ENV=

# Empty value defaults to ‘3000’
#PORT=

SERVICE_NAME='Demo service'

# The cookie session timeout length (in milliseconds)
COOKIE_TIMEOUT=10800000

# Password used for HMAC key generation, which is used to validate that a value
# in the cookie was generated by the server. Should be a minimum of 32 chars.
# You can generate one using `openssl rand -hex 64`
#COOKIE_PASSWORD=

# The configuration for Redis
REDIS_ENABLED=false
#REDIS_PORT=
#REDIS_HOST=

ADDRESS_LOOKUP_ENABLED=false
#ADDRESS_LOOKUP_URI=
#ADDRESS_LOOKUP_USERNAME=
#ADDRESS_LOOKUP_PASSWORD=
#ADDRESS_LOOKUP_KEY=

# The configuration for Airbrake for application error logging (comment out to disable)
#AIRBRAKE_HOST=
#AIRBRAKE_PROJECT_KEY=
#AIRBRAKE_LOG_LEVEL=

# The configuration for the service api
SERVICE_ENABLED=false
#SERVICE_API_HOST=
#SERVICE_API_PORT=

# The configuration for standard application logging
LOG_LEVEL=debug

# The configuration for Gov Pay
PAYMENT_ENABLED=false
#PAYMENT_URL=
#PAYMENT_KEY=
#PAYMENT_AMOUNT= # In pence

# The configuration for Notify
NOTIFY_ENABLED=false
#NOTIFY_API_KEY=
#NOTIFY_CONFIRMATION_TEMPLATE_ID=

# The configuration for Amazon S3 and photo upload
AWS_S3_ENABLED=false
#AWS_S3_REGION=
#AWS_S3_APIVERSION=
#AWS_S3_BUCKET=

# Local access to S3 (this is not needed outside local)
#AWS_ACCESS_KEY_ID=
#AWS_SECRET_ACCESS_KEY=

# Photo upload
#PHOTO_UPLOAD_PHOTO_MIN_KB=
#PHOTO_UPLOAD_PHOTO_MAX_MB=
#PHOTO_UPLOAD_PAYLOAD_MAX_BYTES=
#PHOTO_UPLOAD_MAX_PHOTOS=

# The configuration for Google Analytics
#GOOGLE_ANALYTICS_ID=

# The configuration for change your answers
CHANGE_YOUR_ANSWERS_ENABLED=true