ensl.org/env/test.sh
Ari Timonen fe66edf712 Update docker version for CI
Get old circleci.yml
entry.sh env
Add test.sh for testing
Update Makefile for correct docker path
ADd env/test.sh
2018-04-15 12:51:22 +00:00

25 lines
552 B
Bash
Executable file

#!/bin/bash
export RACK_ENV=test
export RAILS_ENV=test
export APP_SECRET=e0cdcb729c4b21d5259e957a2ffc13a3
export DEPLOY_PATH=/var/www
export PUMA_WORKERS=1
export PUMA_MIN_THREADS=1
export PUMA_MAX_THREADS=16
export PUMA_PORT=3000
export PUMA_TIMEOUT=30
#export MYSQL_HOST="${MYSQL_PORT_3306_TCP_ADDR:-localhost}"
export MYSQL_DATABASE=ensl
export MYSQL_USER=root
export MYSQL_HOST="mysql"
export MYSQL_USERNAME=root
export MYSQL_ROOT_PASSWORD=test
export MYSQL_PASSWORD=test
export MYSQL_ROOT_HOST=172.%
export MYSQL_CONNECTION_POOL=32
exec "$@"