-
Notifications
You must be signed in to change notification settings - Fork 4
/
sample.env
100 lines (81 loc) · 3.18 KB
/
sample.env
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
# To export settings in this file to an environment such as Bash
# (useful when running a local development instance of a Celery worker), do:
# $ set -a && source .env && set +a
DEBUG=True
ENABLE_DJANGO_DEBUG_TOOLBAR=True
ENV=dev
LOG_LEVEL=DEBUG
SENTRY_DSN=
CELERY_BROKER_URL=redis://127.0.0.1:6379/1
MAINTENANCE_MODE=False
# S3 Bucket for HMRC envelope uploads.
HMRC_STORAGE_BUCKET_NAME=hmrc
HMRC_STORAGE_DIRECTORY=tohmrc/staging/
AWS_ACCESS_KEY_ID=minio_access_key
AWS_SECRET_ACCESS_KEY=minio_secret_key
AWS_S3_ENDPOINT_URL=http://localhost:9003
# S3 packaging automation.
HMRC_PACKAGING_SEED_ENVELOPE_ID=0001
HMRC_PACKAGING_STORAGE_BUCKET_NAME=hmrc-packaging
HMRC_ENVELOPE_STORAGE_DIRECTORY=envelope/
HMRC_LOADING_REPORTS_STORAGE_DIRECTORY=loading-reports/
S3_ACCESS_KEY_ID=minio_access_key
S3_SECRET_ACCESS_KEY=minio_access_key
S3_ENDPOINT_URL=http://localhost:9003
# S3 Importer
IMPORTER_STORAGE_BUCKET_NAME=importer
COMMODITY_IMPORTER_ENVELOPE_STORAGE_DIRECTORY=commodity-envelope/
# S3 Bucket for SQLite uploads.
SQLITE_STORAGE_BUCKET_NAME=sqlite
# Minio - local s3 server
# ROOT vars required for docker version of minio
MINIO_ROOT_USER=minio_access_key
MINIO_ROOT_PASSWORD=minio_access_key
# if using older version of minio
# MINIO_ACCESS_KEY=minio_access_key
# MINIO_SECRET_KEY=minio_access_key
# Tariff API envelope publishing automation
ENABLE_CROWN_DEPENDENCIES_PUBLISHING=True
TARIFF_API_INTERFACE=publishing.tariff_api.interface.TariffAPIStubbed
CROWN_DEPENDENCIES_API_HOST=http://tariffs-api-production/
CROWN_DEPENDENCIES_API_URL_PATH=api/v1/taricfiles/
CROWN_DEPENDENCIES_GET_API_KEY=api_key
CROWN_DEPENDENCIES_POST_API_KEY=api_key
# SSO OAuth2 settings.
SSO_ENABLED=false
AUTHBROKER_CLIENT_ID=client_id
AUTHBROKER_CLIENT_SECRET=client_secret
# GOV.UK Notify-related settings.
# Used to enable both packaging & publishing notifications
ENABLE_PACKAGING_NOTIFICATIONS=True
NOTIFICATIONS_API_KEY=notify_api_key
READY_FOR_CDS_TEMPLATE_ID=ready_for_cds_template_id
CDS_ACCEPTED_TEMPLATE_ID=cds_accepted_template_id
CDS_REJECTED_TEMPLATE_ID=cds_rejected_template_id
API_PUBLISH_SUCCESS_TEMPLATE_ID=api_success_template_id
API_PUBLISH_FAILED_TEMPLATE_ID=api_failed_template_id
GOODS_REPORT_TEMPLATE_ID=goods_report_template_id
# Base service URL.
BASE_SERVICE_URL=http://localhost:8000
# Google Analytics
GOOGLE_ANALYTICS_ID=
GOOGLE_ANALYTICS_APP_ID=
# default NURSERY_CACHE_ENGINE=importer.cache.memory.MemoryCacheEngine
# Uncomment to enable redis cache for importer breaks docker pytest
# NURSERY_CACHE_ENGINE=importer.cache.redis.RedisCacheEngine
# Docker envs
# DOCKER_RESTART_POLICY=-unless-stopped (default)
# Set this if you'd like to run the virus check locally see README. defaults to True
SKIP_CLAM_AV_FILE_UPLOAD=True
# Clam AV
CLAM_AV_USERNAME=username
CLAM_AV_PASSWORD=password
CLAM_AV_DOMAIN=test.com
# Use the below if connecting to local ClamAV, see README for more info
CLAM_USE_HTTP=True
# Overwrite default cron for api publishing default "0 8-18/2 * * 1-5" (every 2 hours during weekdays from 8am to 6pm)
# Cron runs every 5 mins
CROWN_DEPENDENCIES_API_CRON="*/5 * * * *"
# CROWN_DEPENDENCIES_API_MAX_RETRIES=3
# CROWN_DEPENDENCIES_API_RETRY_BACKOFF_MAX=600
# CROWN_DEPENDENCIES_API_DEFAULT_RETRY_DELAY=8