Commit 8aea5b59 authored by Michel Memeteau's avatar Michel Memeteau

Set up variables

parent b275794c
#!/bin/bash
#Current version of libre.sh to be installed
LIBRE_VERSION=1.1
LIBRE_VERSION=187-repo-mode-to-retrieve-application-recipe
# System env vars
## domain handling
......@@ -23,7 +23,7 @@ OVH_URL="eu.api.ovh.com"
OVH_API_USER=""
OVH_API_KEY=
### TODO : change your settings
IP="curl -s http://icanhazip.com/"
FirstName="Pierre"
LastName="Ozoux"
......@@ -36,13 +36,15 @@ City="Lisbon"
CountryCode="PT"
## Backup
BACKUP_DESTINATION=root@xxxxx:port
### TODO : Change your mail settings.
## SMTP
MAIL_USER=
MAIL_PASS=
MAIL_HOST=mail.indie.host
MAIL_PORT=587
### TODO : source a setting file is present to override defaults
echo "-------- Welcome to libre.sh $LIBRE_VERSION installer"
......@@ -53,6 +55,18 @@ echo "-------- Welcome to libre.sh $LIBRE_VERSION installer"
echo "-------- setting up system variables"
echo "APP_REPO_URL=${APP_REPO_URL}" >> /etc/environnement
echo "LIBRE_VERSION=${LIBRE_VERSION}" >> /etc/environnement
echo "MAIL_USER=${MAIL_USER}" >> /etc/environnement
echo "MAIL_PASS=${MAIL_PASS}" >> /etc/environnement
echo "MAIL_HOST=${MAIL_HOST}" >> /etc/environnement
echo "MAIL_PORT=${MAIL_PORT}" >> /etc/environnement
# STEP Install Docker
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment