-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.sample
More file actions
101 lines (100 loc) · 3.64 KB
/
Copy path.env.sample
File metadata and controls
101 lines (100 loc) · 3.64 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
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
#####################
# Nuxt Application Configuration
#####################
# endpoint for API
NUXT_API_PARTY_ENDPOINTS_API_URL=http://localhost:5000/v2
# Nuxt auth base URL
NUXT_PUBLIC_AUTH_BASE_URL=http://localhost:5000/auth
# Set debugging true or false
NUXT_PUBLIC_DEBUG=
# Used for displaying things like build banner which are
# used for debugging purposes
# development, production
NUXT_PUBLIC_TARGET_ENV= development
#####################
# Nuxt Build Configuration
# Displayed in the build banner
#####################
NUXT_PUBLIC_BUILD_COMMIT_SHA=
NUXT_PUBLIC_BUILD_NUMBER=
NUXT_PUBLIC_BUILD_LINK=
NUXT_PUBLIC_BUILD_COMMIT_LINK=
NUXT_PUBLIC_BUILD_REPO_LINK=
NUXT_PUBLIC_BUILD_TIMESTAMP=
######################################################
# Docker Configuration
######################################################
########################
# Server Configuration
########################
# This is used for logging info and debugging purposes.
SERVER_URL=localhost
# The port on which the server will run
SERVER_PORT="5000"
# The environment in which the server is running. # Used to control verbosity of logs and other environment-specific settings.
# Possible values: development (Verbose), production (Shows only errors)
TARGET_ENV=development
# The API version to use, this is used to control the API versioning.
API_VERSION="2.0"
# The global prefix for the API, this is used to control the API prefix in the open api docs.
API_GLOBAL_PREFIX="v2"
JWT_SECRET=""
VERIFICATION_TOKEN_TTL=3600000 # in ms, e.g., 1 hour
SESSION_SECRET=""
HTTPS_SESSION= false # Set to true if you are using https, otherwise false
SESSION_COOKIE_MAX_AGE='86400000' # in ms, e.g., 1 day
########################
## Database Configuration
## These are assigned in environment variables section of the docker-compose file.
########################
DATABASE_HOST=db
DATABASE_PORT=5432
DATABASE_USER=root
DATABASE_PASSWORD=root
DATABASE_NAME=hub_dev
########################
# ADMIN JS Configuration
########################
SUPER_ADMIN_EMAIL=admin@josa.test.ngo
SUPER_ADMIN_PASSWORD=adminCommunityPassword
# This is used to config the JOSA contributions api
CONTRIBUTION_API=http://contributions.josa.ngo/api/v1/users
# the wikipedia api endpoint https prefix is added in the member services getWikimediaContributions. We use this one so we can cycle between arabic and english wikidpedia
WIKIPEDIA_API_ENDPOINT='wikipedia.org/w/api.php'
WIKIDATA_API_ENDPOINT='https://www.wikidata.org/w/api.php'
COMMONS_WIKIMEDIA_API_ENDPOINT='https://commons.wikimedia.org/w/api.php'
########################
# Mail Client Configuration
########################
# This is used to send the email url. Should be updated from the tempalte later on and removed from here.
CLIENT_URL=
LIST_MONK_URL=
LIST_MONK_USER=
LIST_MONK_TOKEN=
LIST_MONK_LIST_ID=
LIST_MONK_WELCOME_TEMPLATE_ID=
LIST_MONK_RESET_TEMPLATE_ID=
########################
# Digital Ocean Spaces Configuration
########################
DO_SPACES_ACCESS_KEY_ID=
DO_SPACES_ACCESS_KEY_SECRET=
DO_SPACES_BUCKET_NAME= # example bucket-name/sub-folder
DO_SPACES_BUCKET_SUB_PATH= # destination folder, used for the url, example: commmunity
DO_SPACES_BUCKET_PUBLIC_LINK= # fra1.do.com
DO_SPACES_BUCKET_PUBLIC_LINK_PREFIX= # EXAMPLE: josa-dev-api.fra1.do.com without the fra1.do.com
########################
# Redis Configuration
## These are assigned in environment variables section of the docker-compose file.
########################
REDIS_HOST=redis
REDIS_PORT=6379
REDIS_PASSWORD=
REDIS_DB=0
REDIS_TTL=
###########################
# POSTGRES docker Configuration
###########################
POSTGRES_USER=root
POSTGRES_PASSWORD=root
POSTGRES_DB=hub_dev