-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.example
73 lines (62 loc) · 2.04 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
PROJECT_NAME=comwow
###################
### ENVIRONMENT ###
###################
# Project environment, values can be "local" or "production"
ENV=local
# CI environment, values can be "develop", "staging" or "main" (or the name of a branch you want to deploy on)
CI_ENV=develop
# If you need a specific container for staging but not for production, you can change the PROJECT_ENV instead of the ENV
PROJECT_ENV=${ENV}
###################
### DOCKER ########
###################
# Docker Compose custom tools
COMPOSE_PROJECT_DEFAULT_DIR=containers
COMPOSE_PROJECT_ENV_DIR=${COMPOSE_PROJECT_DEFAULT_DIR}/${PROJECT_ENV}
# Aliases
CPD=${COMPOSE_PROJECT_DEFAULT_DIR}
CPE=${COMPOSE_PROJECT_ENV_DIR}
# Docker Compose variables
COMPOSE_PROJECT_NAME=${PROJECT_NAME}
COMPOSE_PROFILES=${PROJECT_ENV}
COMPOSE_PATH_SEPARATOR=;
# List files to start with
COMPOSE_FILES_BY_DEF=${CPD}/orchestrator.yml;${CPD}/platform.yml;${CPD}/database.yml;${CPD}/database_administration.yml
COMPOSE_FILES_BY_ENV=${CPE}/orchestrator.yml;${CPE}/platform.yml
COMPOSE_FILE=${COMPOSE_FILES_BY_DEF};${COMPOSE_FILES_BY_ENV}
###################
### GLOBAL ########
###################
DOMAIN=${PROJECT_NAME}.localhost
DEBUG=1
NODE_ENV=development
HTTP_PROTOCOL=http
ACME_EMAIL=contact@${DOMAIN}
LETS_ENCRYPT_SERVER=https://acme-staging-v02.api.letsencrypt.org/directory
###################
### LARAVEL #######
###################
APP_NAME="Com Wow'"
SANCTUM_STATEFUL_DOMAINS=${DOMAIN}
CORS_ALLOWED_ORIGINS=${HTTP_PROTOCOL}://${DOMAIN}
###################
### MAILING #######
###################
# MailHog is used for development & staging and does not need a MAIL_USERNAME/PASSWORD but they will be needed for production
MAIL_MAILER=smtp
MAIL_HOST=mailing
MAIL_PORT=1025
MAIL_ENCRYPTION=''
MAIL_USERNAME=
MAIL_PASSWORD=
MAIL_FROM_ADDRESS=no-reply@${PROJECT_NAME}.localhost
MAIL_FROM_NAME=${APP_NAME}
MAIL_VERIFY_PEER=true
###################
### DATABASE ######
###################
DATABASE_NAME=${PROJECT_NAME}
DATABASE_USER=${PROJECT_NAME}
DATABASE_PASSWORD=${PROJECT_NAME}
DATABASE_ROOT_PASSWORD=${PROJECT_NAME}