infra env fix

This commit is contained in:
apoloz
2023-11-28 10:37:18 +00:00
parent 5ae59db9b2
commit 85e311aad8
2 changed files with 16 additions and 1 deletions

13
.env.infra-example Normal file
View File

@@ -0,0 +1,13 @@
SOKETI_DEBUG="1"
SOKETI_METRICS_SERVER_PORT= "9601"
SOKETI_DEFAULT_APP_ID="Avipaidaecachai6Thai"
SOKETI_DEFAULT_APP_KEY="EiquuV7uy3aiReith0te"
SOKETI_DEFAULT_APP_SECRET="veeyohHaef2ieShohj4j"
SOKETI_DEFAULT_APP_ENABLE_CLIENT_MESSAGES="true"
SOKETI_DEFAULT_APP_USER_AUTHENTICATION="true"
SOKETI_PORT="6001"
SOKETI_METRICS_SERVER_PORT="9601"
MYSQL_ROOT_PASSWORD="nhbnhb22"
MYSQL_DATABASE="eatvio"
MYSQL_USER="eatvio_user"
MYSQL_PASSWORD="eatvio_pass_nhbnhb22"

View File

@@ -8,7 +8,9 @@ setup-laravel-packages:
docker-compose exec php-fpm composer install
copy-laravel-env:
docker-compose exec php-fpm cp /application/.env.example /application/.env
init: clone compose-up setup-laravel-packages copy-laravel-env setup-laravel-key
copy-infra-env:
cp .env.infra-example .env
init: clone copy-infra-env compose-up setup-laravel-packages copy-laravel-env setup-laravel-key