-
Notifications
You must be signed in to change notification settings - Fork 2
/
.env.example
111 lines (83 loc) · 3 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
100
101
102
103
104
105
106
107
108
109
110
111
# Please see https://github.com/theopensystemslab/planx-new/blob/main/doc/architecture/decisions/0004-secret-generation.md for procedure on secrets generation
# Used by docker-compose in local development and pull request (aka pizza) environments
# API
API_PORT=7002
API_URL_EXT=http://localhost:${API_PORT}
ENCRYPTION_KEY=👻
# JWT_SECRET must be at least 32 characters
JWT_SECRET=👻
SESSION_SECRET=👻
# Google Cloud OAuth 2.0 Client ID
GOOGLE_CLIENT_ID=👻
GOOGLE_CLIENT_SECRET=👻
# Microsoft Azure OIDC credentials
MICROSOFT_CLIENT_ID=👻
MICROSOFT_CLIENT_SECRET=👻
# AWS credentials for uploading user files from local and pull request environments to a staging S3 bucket
AWS_S3_REGION=eu-west-2
AWS_S3_ACL=public-read
AWS_S3_BUCKET=👻
AWS_ACCESS_KEY=👻
AWS_SECRET_KEY=👻
# User-uploaded S3 files require token-based access (token is used internally and shared with BOPS; local and pull request environments use the staging token)
FILE_API_KEY=👻
FILE_API_KEY_NEXUS=👻
FILE_API_KEY_BARNET=👻
# Editor
EDITOR_URL_EXT=http://localhost:3000
# Hasura
HASURA_GRAPHQL_ADMIN_SECRET=👻
HASURA_PROXY_PORT=7100
HASURA_GRAPHQL_URL=http://localhost:${HASURA_PROXY_PORT}/v1/graphql
HASURA_CONSOLE_PORT=9695
HASURA_GRAPHQL_CORS_DOMAIN="http://localhost:${API_PORT}, http://localhost:${HASURA_CONSOLE_PORT}, http://localhost:3000, http://api:${API_PORT}, http://localhost:${HASURA_PROXY_PORT}/v1/graphql, https://*.planx.uk, https://*.planx.dev, https://*.planx.pizza, https://*.gov.uk"
# Hasura Metadata API
HASURA_PLANX_API_URL=http://api:${API_PORT}
HASURA_PLANX_API_KEY=👻
# Hasura Events send messages to #planx-notifications channel
SLACK_WEBHOOK_URL=👻
# Metabase analytics
METABASE_PORT=5000
METABASE_API_KEY=👻
METABASE_URL_EXT=http://localhost:${METABASE_PORT}
# Minio object storage server
MINIO_PORT=9000
MINIO_ADMIN_PORT=9001
# PostgreSQL
PG_PORT=7001
PG_DATABASE=planxdb
PG_USERNAME=dbuser
PG_PASSWORD=👻
# PG user with permission to sync content between environments
PRODUCTION_PG_URL_FOR_USER_GITHUB_ACTIONS=👻
# ShareDB
SHAREDB_PORT=7003
# Integrations (local and pull request environments point to third party staging environments)
GOVUK_NOTIFY_API_KEY=👻
UNIFORM_TOKEN_URL=👻
UNIFORM_SUBMISSION_URL=👻
ORDNANCE_SURVEY_API_KEY=👻
# Data retention policy
RETENTION_PERIOD_MONTHS=6;
# E2E mock server
E2E_MOCK_SERVER_PORT=11111
E2E_MOCK_SERVER=http://localhost:${E2E_MOCK_SERVER_PORT}
E2E_MOCK_SERVER_INTERFACE_PORT=11112
E2E_MOCK_SERVER_INTERFACE=http://localhost:${E2E_MOCK_SERVER_INTERFACE_PORT}
# Set this if you want to hide debug output locally
SUPPRESS_LOGS=true
# Local authority specific integrations
## Lambeth
UNIFORM_CLIENT_LAMBETH=👻
## Southwark
UNIFORM_CLIENT_SOUTHWARK=👻
## Buckinghamshire
UNIFORM_CLIENT_AYLESBURY_VALE=👻
UNIFORM_CLIENT_CHILTERN=👻
UNIFORM_CLIENT_WYCOMBE=👻
## Forthcoming Idox Nexus integration
IDOX_NEXUS_CLIENT=👻
IDOX_NEXUS_TOKEN_URL=👻
IDOX_NEXUS_SUBMISSION_URL=👻
## End-to-end test team (borrows Lambeth's details)
GOV_UK_PAY_SECRET_E2E=👻