-
Notifications
You must be signed in to change notification settings - Fork 0
/
secret.env.template
33 lines (28 loc) · 1.29 KB
/
secret.env.template
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
#
# Copy-paste this template as secret.env
# secret.env is git-ignored - but doublecheck this each push
#
# Technically it is safe to keep those vars in repository
# (as long as your private key stays private :P)
# but making them secret will rise your opsec
#
# If you find those practices insecure - feel free to suggest
# a change in issues of the repo - love to learn from pros
# but keep in mind that this repo is just dirty kickoff for service
# like small discord bot and not k8s-driven cloud with stuff like rabbitmq xD
#
DEPLOYMENT_USER=for example - in ec2 world it is called "ec2-user"
DEPLOYMENT_HOST="ip or domain here"
DEPLOYMENT_KEY_PATH="~/.ssh/private_key_without_a_password.pem"
APP_NAME="rename it please"
EXEC_START="/path/to/for/example/nvm-exec npm start"
# NodeJS (nvm) specific vars
NODE_VERSION=16
# If you want to "proxy_pass" to frontend app
# This example will forward traffic to github page of the
# https://github.com/Duelsik/react-typescript-styled-for-prototyping
# repository
# NOTE: The rewrite is not needed if your `PUBLIC_URL`/`homepage` is absolute path
# To neutralize rewrite without changing code - just pass "^/$"
FRONTEND_PROXY_TARGET="https://duelsik.github.io/react-typescript-styled-for-prototyping/"
FRONTEND_PROXY_REWRITE="^/react-typescript-styled-for-prototyping/"