diff --git a/etherpad-docker.sh b/etherpad-docker.sh index 4bd1053..323e48c 100644 --- a/etherpad-docker.sh +++ b/etherpad-docker.sh @@ -82,8 +82,8 @@ GRANT ALL PRIVILEGES ON DATABASE ${ETHERPAD_DB_NAME} TO ${ETHERPAD_DB_USER}; DB # Set environment varibales for docker -mkdir /opt/etherpat -cat << EOF > /opt/etherpat/.env +mkdir /opt/etherpad +cat << EOF > /opt/etherpad/.env DOCKER_COMPOSE_APP_ADMIN_PASSWORD="$ETHERPAD_ADMIN_PASS" DOCKER_COMPOSE_APP_DB_CHARSET="utf8mb4" DOCKER_COMPOSE_POSTGRES_HOST="localhost" @@ -96,11 +96,11 @@ DOCKER_COMPOSE_APP_DISABLE_IP_LOGGING="false" DOCKER_COMPOSE_APP_SOFFICE="null" DOCKER_COMPOSE_APP_TRUST_PROXY="true" EOF -chmod 600 /opt/etherpat/.env -cp files/etherpad/docker-compose.yml /opt/etherpat/ -chmod 644 /opt/etherpat/docker-compose.yml +chmod 644 /opt/etherpad/.env +cp files/etherpad/docker-compose.yml /opt/etherpad/ +chmod 644 /opt/etherpad/docker-compose.yml -docker-compose -f /opt/etherpat/docker-compose.yml up -d +docker-compose -f /opt/etherpad/docker-compose.yml up -d # Tune webserver for Jitsi App control