#!/bin/bash . ./piler.conf ln -s ./piler.conf .env # docker start echo echo "===================================" echo "start docker-compose for Piler" echo "===================================" echo cd /opt/piler-docker docker-compose up -d echo echo "===================================" echo "backup the File config-site.php" echo "===================================" echo cp /var/lib/docker/volumes/piler-docker_piler_etc/_data/config-site.php /var/lib/docker/volumes/piler-docker_piler_etc/_data/config-site.php.bak echo echo "===================================" echo "set User settings ..." echo "===================================" echo cat >> /var/lib/docker/volumes/piler-docker_piler_etc/_data/config-site.php <> /var/lib/docker/volumes/piler-docker_piler_etc/_data/config-site.php <