-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy path.env.example
114 lines (94 loc) · 3.13 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
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
102
103
104
105
106
107
108
109
110
111
112
113
#-----------------------------------------------------------------------
#
# Server Automation .env file
#
# Common variables for all scripts
#
#-----------------------------------------------------------------------
#-----------------------------------------------------------------------
#
# Script requirements
#
# PID file the running script
PID_FILE=.main_script.pid
# Allow run commands with sudo if needed
ALLOW_RUN_WITH_SUDO=true
#-----------------------------------------------------------------------
#
# Directories where your local files are located
#
# The following settings are widely used in the scripts envrionment
# please set it accordingly with your policies and make sure to check
# the base requiredment in order to use this server automation scripts
#
# Base server directory path
BASE_SERVER_PATH="/home/$USER/server"
# Sites folder
SITES_FOLDER="${BASE_SERVER_PATH:-"/server"}/sites"
# Clone sites folder
CLONE_FOLDER="${BASE_SERVER_PATH:-"/server"}/clones"
# Backup folder
BACKUP_FOLDER="${BASE_SERVER_PATH:-"/server"}/backup"
# Log folder
LOG_FOLDER="${BASE_SERVER_PATH:-"/server"}/log"
#-----------------------------------------------------------------------
#
# Proxy settings
#
# The proxy will be configured in your settings will set the options backup script for remote storage uses the sftp as a client
# if you option to configure your access info at ~/.ssh/config file
# inform the host name from your ssh config file in the variable below
#
# This proxy is based on 'nginx-proxy' using the separated containers
# url: https://github.com/nginx-proxy/nginx-proxy
#
# The current version of the used proxy is in this repository:
# https://github.com/evertramos/nginx-proxy-automation
#
PROXY_OPTION="nginx-proxy"
# Proxy root folder
PROXY_FOLDER="${BASE_SERVER_PATH:-"/server"}/proxy"
# Proxy compose files folder
PROXY_COMPOSE_FOLDER="${PROXY_FOLDER}/compose"
# Proxy data files folder
PROXY_DATA_FOLDER="${PROXY_FOLDER}/data"
#-----------------------------------------------------------------------
#
# Backup script (ftp|sftp)
#
# The backup script uses the sftp as a client for remote storage
# if you option to configure your access info at ~/.ssh/config file
# inform the host name from your ssh config file in the variable below
#
# of just add the username and server as of:
#
BACKUP_SERVER=
#-----------------------------------------------------------------------
#
# Server info
#
# Server public IP addresses
IPv4=0.0.0.0
IPv6=::0
#-----------------------------------------------------------------------
#
# DNS API Support
#
# This script has an automation process for create/update/delete
# DNS records through an API when you need to fire a new dns record
# if you plan to use this automation you must create your access token
#
# Current supported providers:
# 1. digitalocean - Digital Ocean
# 2. cloudflare - Cloudflare (wip)
#
# For more information on how to get your pernsonal access token,
# please check:
# 1. https://www.digitalocean.com/docs/apis-clis/api/create-personal-access-token/
# 2. https://dash.cloudflare.com/profile/api-tokens
#
# API Provider
API_PROVIDER=digitalocean
# API Key
API_KEY=