-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env
48 lines (39 loc) · 2.07 KB
/
.env
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
##################################################################################################################
### Inside here we want to define ALL the possible environment variables that can be used in the application. ###
### Environment variables that will need to be overwritten in child .env files (such as .env.development, ###
### .env.production, .env.local, etc.) should be commented out here, and then defined in the child .env files. ###
##################################################################################################################
########### Node environment ##########
# This one will be set in each of the separate .env environment files like .env.development, .env.production, etc.
# DO NOT EVER ENABLE THIS NODE_ENV VARIABLE IN THIS FILE, IT WILL BREAK THE APPLICATION!
# NODE_ENV=???
TZ=UTC
# Ports
# This is the port for the API app. Can be changed for local environment if not using containers, but should be left as 3636 for production
WEB_PORT=4200
API_PORT=3636
########## Application ##########
WEB_URL=http://localhost:4200
API_URL=http://localhost:3636
# Logger
LOGGER_LEVEL=trace
# Databases
# IMPORTANT NOTE - if the username of password have special characters, YOU MUST ENCODE THEM!
POSTGRESQL_URL=postgresql://user:password@postgres:5432/database?schema=public
REDIS_URL=redis://redis:6379
# Queues
RABBITMQ_URL=amqp://user:password@rabbitmq:5672
# Mailer
# To be able to send emails, you will either need to provide the SMTP URL or the Resend API key.
# It will use the Resend API key if it is provided, otherwise it will use the SMTP URL.
MAILER_FROM_NAME="MoaiTime Mailer"
# MAILER_SMTP_URL=smtp://user:password@localhost:1025
MAILER_RESEND_API_KEY=resend-api-key
# Storage
USER_DATA_EXPORTS_BUCKET_URL=http://user:password@minio:9000/user-data-exports
USER_AVATARS_BUCKET_URL=http://user:password@minio:9000/user-avatars
POSTGRESQL_BACKUP_BUCKET_URL=http://user:password@minio:9000/database-backups
# OAuth
OAUTH_GOOGLE_CLIENT_ID=oauth-google-client-id
OAUTH_GOOGLE_CLIENT_SECRET=oauth-google-client-secret