This repository has been archived by the owner on Jan 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathenv.example
99 lines (79 loc) · 2.28 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
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
NODE_ENV=development
COMPOSE_PROJECT_NAME=agid-forms
#
# BACKEND
#
BACKEND_HOST=backend-127-0-0-1.nip.io
AUTHENTICATION_BASE_PATH=""
WEBHOOK_USER_LOGIN_BASE_URL=http://backend-127-0-0-1.nip.io
ORGANIZATION_NAME=AGID
SERVICE_NAME="Agenzia per l'Italia Digitale"
AUTHMAIL_FROM=no-reply@agid.gov.it
AUTHMAIL_REPLY_TO=no-reply@agid.gov.it
# TODO: delete the following line when in production
AUTHMAIL_TEST_ADDRESS=test@agid.gov.it
# 180 days
TOKEN_DURATION_IN_SECONDS=15552000
SMTP_CONNECTION_URL=smtp://user:pass@smtp.mailtrap.io:2525/?pool=true
# needed to authenticate against inbound webhook
WEBHOOK_JWT_SECRET=foobar
# needed to authenticate against hasura
JWT_SECRET=foobar
#
# POSTGRESQL
#
# POSTGRES_USERNAME=postgres
POSTGRESQL_PASSWORD=foobar
POSTGRESQL_DATABASE=agid-forms
POSTGRESQL_INITDB_WALDIR=/bitnami/wal-logs
#
# HASURA
#
HASURA_HOST=hasura-127-0-0-1.nip.io
HASURA_PORT=8080
HASURA_EXTERNAL_PORT=8080
HASURA_GRAPHQL_ENDPOINT=http://hasura-127-0-0-1.nip.io/v1/graphql
HASURA_GRAPHQL_UNAUTHORIZED_ROLE=anonymous
# must be the local address used inside the docker network
EVENTS_WEBHOOK_URL=http://backend/api/v1/graphql/events
# use hasura console manually, needed to secure hasura installation
HASURA_GRAPHQL_ENABLE_CONSOLE=false
# PostgreSQL connection
HASURA_GRAPHQL_DATABASE_URL=postgres://postgres:foobar@postgresql:5432/agid-forms
HASURA_WEBHOOK_SECRET=foobar
HASURA_GRAPHQL_ADMIN_SECRET=foobar
HASURA_GRAPHQL_JWT_SECRET={"type":"HS256","key":"verysecretandlonglongjwtsecrettoken"}
#
# REDIS
#
REDIS_HOST=redis
REDIS_URL=redis
REDIS_PORT=6379
REDIS_PASSWORD=foobar
REDIS_TIMEOUT=300
REDIS_TCP_KEEPALIVE=60
REDIS_MAXMEMORY=512m
#
# TRAEFIK
#
TRAEFIK_DOMAIN=nip.io
TRAEFIK_DASHBOARD_PORT=7777
TRAEFIK_ACME_EMAIL=test@agid.gov.it
TRAEFIK_DASHBOARD_USER=traefik
# traefik
TRAEFIK_DASHBOARD_PASSWORD=$apr1$bACBlyHz$5yCpm5UZM5/M09eROyYln.
#
# MINIO
#
# internal name used by docker network
MINIO_SERVER_HOST=minio
MINIO_ACCESS_KEY=foobar-1
MINIO_SECRET_KEY=foobar-2
# the docker image creates this buckets on startup
MINIO_DEFAULT_BUCKETS=agid-forms-uploads
MINIO_SERVER_PORT_NUMBER=9000
UPLOAD_SERVER_PORT=9000
UPLOAD_SERVER_HOST=uploads-127-0-0-1.nip.io
UPLOAD_SERVER_BASE_URL=http://agid-forms-backend-uploads
OMBUDSMAN_EMAIL=protocollo@pec.agid.gov.it
FEEDBACK_EMAIL=protocollo@pec.agid.gov.it