forked from openmhz/trunk-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-prod.sh
executable file
·29 lines (27 loc) · 940 Bytes
/
docker-prod.sh
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
export MEDIA="./data/media"
export DATA="./data/"
export MAILJET_KEY="FILL IN HERE"
export MAILJET_SECRET="FILL IN HERE"
export STAGE=prod
export TAG=1.7
export DOMAIN_NAME="openmhz.com"
export PROTOCOL="https://"
export BACKEND_SERVER="${PROTOCOL}api.${DOMAIN_NAME}"
export FRONTEND_SERVER="${PROTOCOL}${DOMAIN_NAME}"
export ADMIN_SERVER="${PROTOCOL}admin.${DOMAIN_NAME}"
export MEDIA_SERVER="${PROTOCOL}media.${DOMAIN_NAME}"
export SOCKET_SERVER="wss://socket.${DOMAIN_NAME}"
export ACCOUNT_SERVER="${PROTOCOL}account.${DOMAIN_NAME}"
export COOKIE_DOMAIN=".${DOMAIN_NAME}"
export S3_PROFILE='wasabi-account'
export S3_ENPOINT='s3.us-west-1.wasabisys.com'
export SITE_NAME="OpenMHz"
export ADMIN_EMAIL="[email protected]"
export FREE_PLAN=0
export PRO_PLAN=10
export FREE_PLAN_PRICE=0
export PRO_PLAN_PRICE=15
export FREE_PLAN_ARCHIVE=7
export PRO_PLAN_ARCHIVE=30
echo "Docker Compose Commad: " $@
docker-compose -f docker-compose.yml $@