This repository has been archived by the owner on Jan 15, 2025. It is now read-only.
generated from pagopa/io-functions-template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathenv.example
41 lines (33 loc) · 1.75 KB
/
env.example
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
COMPOSE_PROJECT_NAME=io-fn-cgn
COSMOSDB_PORT=3000
API_GATEWAY_PORT=80
FUNCTIONS_WORKER_RUNTIME=node
CGN_STORAGE_CONNECTION_STRING=DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://fnstorage:10000/devstoreaccount1;QueueEndpoint=http://fnstorage:10001/devstoreaccount1;TableEndpoint=http://fnstorage:10002/devstoreaccount1;
AzureWebJobsStorage=DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://fnstorage:10000/devstoreaccount1;QueueEndpoint=http://fnstorage:10001/devstoreaccount1;TableEndpoint=http://fnstorage:10002/devstoreaccount1;
FUNCTIONS_V2_COMPATIBILITY_MODE=true
REQ_USER_GROUPS=ApiProfileWrite
REQ_SERVICE_ID=MyServiceId
COSMOSDB_URI=COSMOSDB_URI
COSMOSDB_KEY=COSMOSDB_KEY
COSMOSDB_NAME=db
COSMOSDB_CGN_URI=${COSMOSDB_URI}
COSMOSDB_CGN_KEY=${COSMOSDB_KEY}
COSMOSDB_CGN_DATABASE_NAME=${COSMOSDB_NAME}
COSMOSDB_CONNECTION_STRING=AccountEndpoint=${COSMOSDB_URI};AccountKey=${COSMOSDB_KEY};
# needed to connect to cosmosdb server
NODE_TLS_REJECT_UNAUTHORIZED=0
SERVICES_API_URL=SERVICES_API_URL
SERVICES_API_KEY=put_your_api_key_here
CGN_LEASE_BINDINGS_TABLE_NAME=lease
CGN_EXPIRATION_TABLE_NAME=cgnexpirations
EYCA_EXPIRATION_TABLE_NAME=eycaexpirations
EYCA_API_BASE_URL=https://ccdb.eyca.org/api
EYCA_API_PASSWORD=your_eyca_password
EYCA_API_USERNAME=your_eyca_username
REDIS_URL=redis://redis
REDIS_TLS_ENABLED=false
OTP_TTL_IN_SECONDS=600
# needed to connecto to Blob Storage to backup data for legal reasons
CgnCardsDataBackupStorageConnection=
CGN_CARDS_DATA_BACKUP_CONTAINER_NAME=