-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.sample
More file actions
58 lines (44 loc) · 1.77 KB
/
Copy path.env.sample
File metadata and controls
58 lines (44 loc) · 1.77 KB
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
# Environment variables for Docker Compose
# Copy this file to .env and fill in your values:
# cp .env.sample .env
# ASP.NET Core environment, Development, Production.
ASPNETCORE_ENVIRONMENT=Development
# Build configuration: Local or Release
BUILD_CONFIGURATION=Local
# Secret key for JWT/API authentication (min 32 characters)
API_KEY_SECRET=your-secret-key-at-least-32-characters
# Connection string for the main PPMTool SQLite database
CONNECTION_STRING=Data Source=/app/state/PPMTool.db;Cache=Shared;Mode=ReadWriteCreate;
# Connection string for leave bookings database
LEAVEBOOKINGS_CONNECTION_STRING=Data Source=/app/state/LeaveBookings.db;Cache=Shared;Mode=ReadWriteCreate;
# Connection to Sentry crash monitoring
SENTRY_DSN="https://sentry.io/"
# Port mappings
CAPX_HTTP_PORT=5001
# Where the DB lives outside the container
CAPX_STATE_DIR=/var/www/capx/capx-state
# Whether to seed dummy data
SEED_DUMMY_DATA=TRUE
# Basic superuser settings
SUPERUSER_NAME="Captain Marvel"
SUPERUSER_USERNAME=c123456m
SUPERUSER_EMAIL=captain.marvel@manchester.ac.uk
# Mail settings
MAIL_FROM_ADDRESS=noreply.capx@manchester.ac.uk
MAIL_SMTP_SERVER=smtp.manchester.ac.uk
# Authentication settings
CAS_PROTOCOL=2
CAS_BASE_URL=https://login.manchester.ac.uk/cas
AUTH_TYPE=CAS
AUTH_HOST_URL=https://capx.manchester.ac.uk
ENTRA_INSTANCE=https://login.microsoftonline.com/
ENTRA_DOMAIN=yourdomain.onmicrosoft.com
ENTRA_TENANT_ID=hello-world
ENTRA_CLIENT_ID=hello-world
ENTRA_CLIENT_SECRET=hello-world
ENTRA_CALLBACK_PATH=/signin-oidc
# DB Provider (e.g. sqlite, sqlserver, postgresql)
DB_PROVIDER=sqlite
# Data Protection Path (where to store the encryption keys for app data)
# If not set will use the default ASP.NET setting of storing in memory rather than on disk
DP_KEY_PATH=state/.data-protection-keys