This applies configuration changes for the Flask app and adds changes to the Dockerfile so that the build can make a CSP-specific JS bundle. It adds `write_dotenv` script that creates the appropriate `.env` file for the `parcel` bundler depending on how the `CSP` environment variable is set. - Configure K8s environment variables for Flask CSP usage - Supply default CSP config setting to Flask app - Declare the CSP arg in the Dockerfile - Supply extra Docker build args to CD - Fix top-level reference to boto3 in file_upload module - Add back missing sample NGINX config for docker-compose build
32 lines
868 B
INI
32 lines
868 B
INI
[default]
|
|
CAC_URL = http://localhost:8000/login-redirect
|
|
CA_CHAIN = ssl/server-certs/ca-chain.pem
|
|
CLASSIFIED = false
|
|
COOKIE_SECRET = some-secret-please-replace
|
|
DISABLE_CRL_CHECK = false
|
|
CRL_FAIL_OPEN = false
|
|
CRL_STORAGE_CONTAINER = crls
|
|
CSP=mock
|
|
DEBUG = true
|
|
ENVIRONMENT = dev
|
|
LOG_JSON = false
|
|
PERMANENT_SESSION_LIFETIME = 600
|
|
PE_NUMBER_CSV_URL = http://c95e1ebb198426ee57b8-174bb05a294821bedbf46b6384fe9b1f.r31.cf5.rackcdn.com/penumbers.csv
|
|
PGAPPNAME = atst
|
|
PGDATABASE = atat
|
|
PGHOST = localhost
|
|
PGPASSWORD = postgres
|
|
PGPORT = 5432
|
|
PGUSER = postgres
|
|
PORT=8000
|
|
REDIS_URI = redis://localhost:6379
|
|
RQ_QUEUES = atat_%(ENVIRONMENT)s
|
|
SECRET = change_me_into_something_secret
|
|
SECRET_KEY = change_me_into_something_secret
|
|
SESSION_COOKIE_NAME=atat
|
|
SESSION_TYPE = redis
|
|
SESSION_USE_SIGNER = True
|
|
SQLALCHEMY_ECHO = False
|
|
WTF_CSRF_ENABLED = true
|
|
LIMIT_CONCURRENT_SESSIONS = false
|