mirror of
https://github.com/klokantech/tileserver-php.git
synced 2025-10-24 11:16:03 +02:00
Initial commit of Docker resources
This commit is contained in:
15
start.sh
Normal file
15
start.sh
Normal file
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
echo "Starting tileserver-php container"
|
||||
echo "---------------------------------"
|
||||
file="/var/www/tileserver.php"
|
||||
if [ -f "$file" ]
|
||||
then
|
||||
echo "$file found in the volume."
|
||||
else
|
||||
echo "Copying tileserver.php into volume..."
|
||||
cp /tileserver-php-master/* /tileserver-php-master/.* /var/www/
|
||||
fi
|
||||
echo
|
||||
echo "Apache logs:"
|
||||
echo
|
||||
/usr/sbin/apache2ctl -e info -D FOREGROUND
|
||||
Reference in New Issue
Block a user