File: .env.dist

Recommend this page to a friend!
  Classes of Paulo Henrique  >  Ajudaime API  >  .env.dist  >  Download  
File: .env.dist
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Ajudaime API
Find people close to the user who needs help
Author: By
Last change:
Date: 3 months ago
Size: 1,237 bytes
 

Contents

Class file image Download
# This file is a "template" of which env vars need to be defined for your application
# Copy this file to .env file for development, create environment variables when deploying to production
# https://symfony.com/doc/current/best_practices/configuration.html#infrastructure-related-configuration

###> symfony/framework-bundle ###
APP_ENV=dev
APP_SECRET=068f6649969c9d7d8258cd50d03e2f35
#TRUSTED_PROXIES=127.0.0.1,127.0.0.2
#TRUSTED_HOSTS=localhost,example.com
###< symfony/framework-bundle ###

###> doctrine/doctrine-bundle ###
# Format described at http://docs.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url
# For an SQLite database, use: "sqlite:///%kernel.project_dir%/var/data.db"
# Configure your db driver and server_version in config/packages/doctrine.yaml
DATABASE_URL=pgsql://admin:ajudaime2020@ajudaime-postgres:5432/ajudaime
###< doctrine/doctrine-bundle ###

GOOGLE_CLIENT_ID=my_id
GOOGLE_CLIENT_SECRET=my_secret
###> nelmio/cors-bundle ###
CORS_ALLOW_ORIGIN=^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$
###< nelmio/cors-bundle ###
ELASTICSEARCH_HOST=ajudaime-elasticsearch
ELASTICSEARCH_PORT=9200
ELASTICSEARCH_SCHEME=http
ELASTICSEARCH_USER=
ELASTICSEARCH_PASS=

For more information send a message to info at phpclasses dot org.