summaryrefslogtreecommitdiff
path: root/docker/Files/Docker-script.sh
diff options
context:
space:
mode:
authorPrabhu Ramachandran2018-01-05 15:47:05 +0530
committerGitHub2018-01-05 15:47:05 +0530
commit65ce10a9057d30e6a7e9a37926abdef97e5fdc48 (patch)
tree8cf8c7ef08b63b68013dce99faf14223c2f73764 /docker/Files/Docker-script.sh
parentfeb295b4107a95621e9430f5c7042cfde4674cc0 (diff)
parentbbf844c6ebf9b29c436930b5d5129ebf77a3aad1 (diff)
downloadonline_test-65ce10a9057d30e6a7e9a37926abdef97e5fdc48.tar.gz
online_test-65ce10a9057d30e6a7e9a37926abdef97e5fdc48.tar.bz2
online_test-65ce10a9057d30e6a7e9a37926abdef97e5fdc48.zip
Merge pull request #404 from ankitjavalkar/add-docker-compose-test
Add docker compose deployment
Diffstat (limited to 'docker/Files/Docker-script.sh')
-rw-r--r--docker/Files/Docker-script.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/docker/Files/Docker-script.sh b/docker/Files/Docker-script.sh
new file mode 100644
index 0000000..dc35a3f
--- /dev/null
+++ b/docker/Files/Docker-script.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+chown -R www-data /Sites/online_test
+chown -R www-data /Sites/online_test/yaksh
+chown -R nobody /Sites/online_test/yaksh_data
+chmod -R 664 /Sites/online_test
+chmod -R +X /Sites
+/usr/sbin/apache2ctl -D FOREGROUND