forked from openmhz/trunk-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-test.sh
executable file
·32 lines (30 loc) · 1.05 KB
/
docker-test.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
30
31
32
export MEDIA=/Users/luke/Testing/media
export DATA=/Users/luke/Testing/data
export MAILJET_KEY="FILL IN HERE"
export MAILJET_SECRET="FILL IN HERE"
export STAGE=test
export TAG=1.7
export DOMAIN_NAME="openmhz.test"
export PROTOCOL="http://"
export STRIPE_PUBLISHABLE_KEY=""
export STRIPE_SECRET_KEY="FILL IN HERE"
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 SITE_NAME="OpenMHz"
export ADMIN_EMAIL="[email protected]"
export S3_PROFILE='default'
export S3_ENPOINT='s3.us-west-1.wasabisys.com'
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 $COOKIE_DOMAIN
echo "Docker Compose Commad: " $@
docker-compose -f docker-compose.yml -f test-compose.yml $@