diff --git a/.gitignore b/.gitignore index 5dc2324..856ef05 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,4 @@ /spa/node_modules -.env # Logs logs diff --git a/serv_certbot/.env b/serv_certbot/.env new file mode 100644 index 0000000..3837551 --- /dev/null +++ b/serv_certbot/.env @@ -0,0 +1,6 @@ + +EMAIL=valitovgaziz@yandex.ru +DOMAINS_yalarba=yalarba.ru,www.yalarba.ru +DOMAINS_valitovgaziz=valitovgaziz.ru,www.valitovgaziz.ru +DOMAINS_easysite102=easysite102.ru,www.easysite102.ru +ALL_DOMAINS=yalarba.ru,www.yalarba.ru,valitovgaziz.ru,www.valitovgaziz.ru,easysite102.ru,www.easysite102.ru \ No newline at end of file diff --git a/serv_migration/.env b/serv_migration/.env new file mode 100644 index 0000000..3486e4f --- /dev/null +++ b/serv_migration/.env @@ -0,0 +1,6 @@ + +# MIGRATOR +MIGRATOR_PORT=3000 +GOOSE_DRIVER=postgres +GOOSE_DBSTRING='user=postgres dbname=postgres sslmode=disable' +GOOSE_MIGRATION_DIR=migrations \ No newline at end of file diff --git a/serv_nginx/.env b/serv_nginx/.env new file mode 100644 index 0000000..b2ee6cd --- /dev/null +++ b/serv_nginx/.env @@ -0,0 +1,7 @@ + +# NGINX +EMAIL=valitovgaziz@yandex.ru +DOMAINS_yalarba=yalarba.ru,www.yalarba.ru +DOMAINS_valitovgaziz=valitovgaziz.ru,www.valitovgaziz.ru +DOMAINS_easysite102=easysite102.ru,www.easysite102.ru +ALL_DOMAINS=yalarba.ru,www.yalarba.ru,valitovgaziz.ru,www.valitovgaziz.ru,easysite102.ru,www.easysite102.ru \ No newline at end of file diff --git a/serv_rest_api/.env b/serv_rest_api/.env new file mode 100644 index 0000000..5b40f53 --- /dev/null +++ b/serv_rest_api/.env @@ -0,0 +1,15 @@ + +# REST API SERVER + +SERVER_PORT=8000 +SECRET_KEY=my_very_secret_key + +# POSTGRESQL + +PGHOST=db +PGPORT=5432 +PGUSER=postgres +PGPASSWORD=postgres +PGDATABASE=postgres +SSLmode=disable +PGURL='postgres://postgres:postgres@db:5432/postgres?sslmode=disable' \ No newline at end of file diff --git a/serv_spa/.env b/serv_spa/.env new file mode 100644 index 0000000..b181c55 --- /dev/null +++ b/serv_spa/.env @@ -0,0 +1,5 @@ +# FRONTEND SPA +HTTP_INNER_PORT=80 +HTTP_OUTER_PORT=80 +HTTPS_INNER_PORT=443 +HTTPS_OUTER_PORT=443 \ No newline at end of file