-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
74 lines (61 loc) · 2 KB
/
.env.example
File metadata and controls
74 lines (61 loc) · 2 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# Rename to `.env.production`/`.env.development` for use
# Switch for certain production/dev-specific functionality
PRODUCTION=True
# This field must be prefixed with `GATSBY_` to get injected into the
# client-side environment. It is, however, a pointer to the endpoint
# of our Strapi CMS.
GATSBY_CMS_HOST=http://cms:1337
# Public Stripe API key
GATSBY_STRIPE_KEY=pk_etc_etc
# # # # # # # # # # # # #
# Strapi CMS variables #
# # # # # # # # # # # # #
DATABASE_CLIENT=mongo
DATABASE_NAME=strapi
DATABASE_HOST=db
DATABASE_PORT=27017
DATABASE_USERNAME=admin
DATABASE_PASSWORD=password
NODE_ENV=production
SENDGRID_API_KEY=SG.ABC123
STRAPI_PUBLIC_URL=https://cms.uqmc.org
# # # # # # # # # # # # #
# MongoDB Variables #
# # # # # # # # # # # # #
# Credentials for initialising the database
MONGO_INITDB_ROOT_USERNAME=admin
MONGO_INITDB_ROOT_PASSWORD=password
# # # # # # # # # # # # # # # #
# Mongo Express Variables #
# # # # # # # # # # # # # # # #
ME_CONFIG_BASICAUTH_USERNAME=guiadmin
ME_CONFIG_BASICAUTH_PASSWORD=secret
# DERIVE FROM MONGODB VARIABLES:
ME_CONFIG_MONGODB_ADMINUSERNAME=admin
ME_CONFIG_MONGODB_ADMINPASSWORD=password
ME_CONFIG_MONGODB_URL=mongodb://admin:password@db:27017/
# URI: mongodb://${MONGO_INITDB_ROOT_USERNAME}:${MONGO_INITDB_ROOT_PASSWORD}@db:27017/
# # # # # # # # # # # # # # # # # #
# DB Backup Service Variables #
# # # # # # # # # # # # # # # # # #
# S3 Credentials
S3_Endpoint=https://example.com/
S3_Region=us-east
S3_Access_Key=abc
S3_Secret_Key=123
S3_Bucket_Name=bucky
S3_Directory_Name=backups
# List of volumes to backup, separated
# by commas
Volumes_To_Backup=arapiles_db-data
# Interval for taking a backup snapshot (every x hours)
# Interval for which snapshot to keep permanently (every x snapshots)
# In this example, every 24 hours a permanent backup is saved,
# whilst every two hours a snapshot is overwritten.
snapshot_interval=2
backup_interval=12
backup_on_startup=yes
# Set what severity of log message to print to shell
Log_Level=INFO
# Disables the app
Disabled=no