-
Notifications
You must be signed in to change notification settings - Fork 2
/
deploy.env
58 lines (52 loc) · 2.31 KB
/
deploy.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
49
50
51
52
53
54
55
56
57
58
# Git repo and branch
# GIT_REPOSITORY Git repository address
# GIT_BRANCH Branch that project will be cloned from, Default is `master`
GIT_REPOSITORY=https://github.com/arsamme/example-laravel-project.git
GIT_BRANCH=master
# Deployment config
# DEPLOY_SERVER Deployment server, Example : `[email protected]` or `-i path\\to\\ssh\\key [email protected]`
# DEPLOY_PATH Path in server to clone project
# DEPLOY_DESTINATION_PATH Path which will linked to `public` path of project
# DEPLOY_STORAGE_PATH Path which `storage` folder moved to
DEPLOY_SERVER="-i D:\\ssh\\arsam [email protected]"
DEPLOY_PATH=/home/admin/web/arsam.me/
DEPLOY_DESTINATION_PATH=/home/admin/web/arsam.me/public_html/
DEPLOY_STORAGE_PATH=/home/admin/web/arsam.me/storage/
# Server user config, these will used to define which user and use group owns project in server
# USER Default is `root`
# USER_GROUP Default is `root`
USER=admin
USER_GROUP=admin
# Turn on or off configs
# Only use true or false
# Set whether to run `composer install` or not, Default is `true`
COMPOSER_INSTALL=true
# Set whether to create new `.env` file from `.env.prod` or `.env.example` or not, Default is `true`
CREATE_ENV_FILE=true
# Set whether to generate `application key` using `artisan` command or not, Default is `true`
GENERATE_APPLICATION_KEY=true
# Set whether to run `npm install` or not, Default is `true`
NPM_INSTALL=true
# Set whether to run `npm run prod` or not, Default is `true`
NPM_RUN_PROD=true
# Set whether to run database migrations or not, Default is `false`
DATABASE_MIGRATION=true
# Set whether to run database seeders or not, Default is `false`
DATABASE_SEED=false
# Set whether to create storage symlink in `public` folder or not, this uses `artisan` command, Default is `true`
STORAGE_SYMLINK=true
# Set whether to run `artisan` cache commands or not, Default is `true`
CONFIG_CACHE=true
# Extra bash script to run at end of deploy, inside deploy path
EXTRA_BASH_SCRIPT=""
# Set whether to save backup of old build or not, Default is `false`
BACKUP_OLD_BUILD=false
# Notification hooks, used to notify when deploy finishes
# Telegram
TELEGRAM_BOT_API_TOKEN=""
TELEGRAM_CHAT_ID=""
# Discord
DISCORD_WEBHOOK_URL=""
# Slack
SLACK_WEBHOOK_URL=""
SLACK_CHANNEL=""