-
Notifications
You must be signed in to change notification settings - Fork 37
Expand file tree
/
Copy pathrunLocal.sh
More file actions
31 lines (18 loc) · 874 Bytes
/
runLocal.sh
File metadata and controls
31 lines (18 loc) · 874 Bytes
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
#!/usr/bin/env bash
set -e
set -x
if test -f "./this_is_prod.txt"; then
echo "this_is_prod.txt exists, delete that if you want to run prod."
exit -1
fi
touch this_is_local.txt
docker-compose build imagick_php_base_im6
docker-compose build imagick_php_base_im7
docker-compose build imagick_php_backend_im6
docker-compose build imagick_php_backend_im7
docker-compose build imagick_php_backend_im6_debug
docker-compose build imagick_php_backend_im7_debug
docker-compose up --build --remove-orphans installer
docker-compose up --build imagick_php_backend_im6 imagick_php_backend_im6_debug imagick_php_backend_im7 imagick_php_backend_im7_debug js_builder redis nginx css_builder
# docker-compose up --build installer
# 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a