diff --git a/.env b/.env.example similarity index 86% rename from .env rename to .env.example index 262f2fd..97435fb 100644 --- a/.env +++ b/.env.example @@ -107,6 +107,11 @@ APP_URL=https://${SEAT_DOMAIN} APP_KEY=insecure +# Application default locale +# If you need to change the default locale of the server for notifications you need to put the locale code here +# e.g. fr, en, ru, etc. +APP_LOCALE=en + # App Environment APP_ENV=local @@ -165,3 +170,15 @@ EVE_CALLBACK_URL=${APP_URL}/auth/eve/callback #SEAT_PLUGINS=vendor1/package #SEAT_PLUGINS=vendor1/package,vendor2/package + +# The type of driver that eseye should use for the cache +# available values are file, redis +ESEYE_CACHE_DRIVER=file + +# When using the file driver, this is the name of the folder in seat/storage that will store the cache files +ESEYE_CACHE_STORAGE_PATH=eseye + +# When using the redis driver, this is the name of the redis connection. If using 'cache', it will reuse the existing +# redis cache configuration found in seat/config/cache.php. It must be a configured connection +ESEYE_CACHE_CONNECTION=cache +ESEYE_CACHE_LOCK_CONNECTION=default diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4c49bd7 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.env diff --git a/bootstrap.sh b/bootstrap.sh index eeb8695..6342114 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -61,7 +61,7 @@ curl -L https://raw.githubusercontent.com/eveseat/seat-docker/$SEAT_GITHUB_BRANC curl -L https://raw.githubusercontent.com/eveseat/seat-docker/$SEAT_GITHUB_BRANCH/docker-compose.mariadb.yml -o $SEAT_DOCKER_INSTALL/docker-compose.mariadb.yml curl -L https://raw.githubusercontent.com/eveseat/seat-docker/$SEAT_GITHUB_BRANCH/docker-compose.traefik.yml -o $SEAT_DOCKER_INSTALL/docker-compose.traefik.yml curl -L https://raw.githubusercontent.com/eveseat/seat-docker/$SEAT_GITHUB_BRANCH/docker-compose.proxy.yml -o $SEAT_DOCKER_INSTALL/docker-compose.proxy.yml -curl -L https://raw.githubusercontent.com/eveseat/seat-docker/$SEAT_GITHUB_BRANCH/.env -o $SEAT_DOCKER_INSTALL/.env +curl -L https://raw.githubusercontent.com/eveseat/seat-docker/$SEAT_GITHUB_BRANCH/.env.example -o $SEAT_DOCKER_INSTALL/.env echo "Generating a random database password and writing it to the .env file." sed -i -- 's/DB_PASSWORD=i_should_be_changed/DB_PASSWORD='$(head /dev/urandom | tr -dc A-Za-z0-9 | head -c22 ; echo '')'/g' .env