Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
12 kB
4
Indexable
Never


    ### Docker
    # Allows us to set default values of env variables, see: https://docs.docker.com/compose/env-file/
    COMPOSE_FILE=doc/docker/base-dev.yml:doc/docker/redis.yml:doc/docker/redis-session.yml
    COMPOSE_DIR=.

    # You'll need to adjust this for Windows and XDB Linux systems: https://getcomposer.org/doc/03-cli.md#composer-home
    COMPOSER_HOME=~/.composer
    COMPOSER_MEMORY_LIMIT=4G
    COMPOSER_AUTH={"http-basic":{"updates.ibexa.no":{"username":"208fefcb3edae4f148de03ff519df01f","password":"2ea064190baf394496bb1d4de8e50160"}}}

    # Feel free to change project name to something meaningful (preferably unique per project)
    COMPOSE_PROJECT_NAME=thermor
    PROJECT_HOST=thermor.docker
    PROJECT_SCHEME=http
    ACTIVATE_MAINTENANCE=false
    MAINTENANCE_UNTIL_DATE=~
    WHITELIST_IPS=~
    ACTIVATE_CART=1  # 0 to disable cart

    ## Docker images (name and version)
    PHP_IMAGE=ezsystems/php:7.4-v2-node12
    NGINX_IMAGE=nginx:stable
    MYSQL_IMAGE=healthcheck/mariadb
    SELENIUM_IMAGE=selenium/standalone-chrome-debug:3.141.59-20200326
    CHROMIUM_IMAGE=registry.gitlab.com/dmore/docker-chrome-headless:7.1
    REDIS_IMAGE=healthcheck/redis


    APP_DOCKER_FILE=doc/docker/Dockerfile-app

    DATASET_VARDIR=thermor-app

    ##Database
    DATABASE_USER=thermor
    DATABASE_PASSWORD=Fr-7H3rm0r_4tl4nt1C
    DATABASE_NAME=ezp_thermor
    DATABASE_HOST=192.168.112.4
    DATABASE_PORT=3306
    DATABASE_PLATFORM=mysql
    DATABASE_DRIVER=pdo_mysql
    DATABASE_URL=${DATABASE_PLATFORM}://${DATABASE_USER}:${DATABASE_PASSWORD}@${DATABASE_HOST}:${DATABASE_PORT}/${DATABASE_NAME}


    ### App
    ENVIRONMENT=dev
    DEPLOYMENT_ENV=localdev
    SURVEY_DATE_LIMIT="2021-12-24 23:59:59"
    # partner links
    FIND_INSTALLATOR_URL=https://trouveruninstallateur.thermor.fr
    THERMOR_PRO_URL=https://www.thermor-pro.fr/?utm_source=thermor.fr&utm_medium=referral
    ASSISTANCE_URL=https://assistance.thermor.fr/hc/fr/
    ENVIRONMENT=dev

    #Algolia
    DEPLOYMENT_ENV=localdev
    ALGOLIA_APP_ID=FOGQDXTV2R
    ALGOLIA_API_SECRET_KEY=657bf81c2cd3913dbc765d9af01a5d51
    ALGOLIA_API_SEARCH_SECRET_KEY=e191c80466788f3a02d5c92ef0c2c7fa

    # Client Google API credentials
    GOOGLE_MAPS_API_KEY=AIzaSyDV-KWi9urfolu2tCgbfAs2DOd9GKt-eBs
    GOOGLE_MAPS_CLIENT_ID=
    GOOGLE_MAPS_CRYPTO_KEY=
    YOUTUBE_API_TOKEN=AIzaSyCo8cBNiAQ-TtEfZvZbwl2PZyY813MfoN0

    # eZ image placeholder
    ACTIVATE_IMAGE_PLACEHOLDER=false
    IMAGE_PLACEHOLDER_BASE_PATH=~

    # DocGA
    DOCGA_URL=https://docga.plateforme-services.com
    DOCGA_API_KEY=d3s6xf0373pd19sosh0ieohwnb
    DOCGA_SECRET=bf90sdtza8

    # Thermor Sizing & DQE
    THERMOR_SIZING_API_HOST=Https://api.groupe-atlantic.com:8243
    THERMOR_SIZING_API_TOKEN=d284eXFITGZHSkFPd3FfWl9od1pidF9IMmMwYToyZUk5Nnh3azBxdWZjMWQ0aWVwR2p4bjROeUFh
    THERMOR_SIZING_SALESFORCE_API_HOST=https://apim-tst.groupe-atlantic.com
    THERMOR_SIZING_SALESFORCE_API_TOKEN=RGlKaGlOZTZuQV9qMW9iSHhUaUdydzVmWEVvYTpmUEFqb3EydUVCWVRkT21HaFhMTTJFZkxWRFVh
    THERMOR_SIZING_SALESFORCE_API_ENV_PATH=
    THERMOR_SIZING_MAILER_SENDER=admin@thermor.fr
    THERMOR_SIZING_MAILER_RECIPIENT=thermor@codein.fr
    GA_DQE_API_HOST=https://preprod.dqe-software.com/DQEEMAILLOOKUP
    GA_DQE_API_TOKEN=U0TrRxU0WbGvJAsBrg8.UFw-ic
    DQE_BASE_ADDRESS=https://preprod.dqe-software.com/CP/?
    DQE_STATIC_PARAMS=Pays=FRA&Alpha=true&Etendue=Y&Version=1.1
    DQE_LICENSE_KEY="&Licence=${GA_DQE_API_TOKEN}"

    ##Fastly
    FASTLY_SERVICE_ID=""
    FASTLY_KEY=""

    ##Cookiebot
    COOKIEBOT_ID=baeb845a-4869-4ad9-bf84-cf72cbb90394

    ########## ENV ATLANTIC ID360/BUS/PFS CORE ############
    SAL_BUS_BASE_URI='https://apis-tst.groupe-atlantic.com:443'
    SAL_BUS_API_KEY=''
    SAL_BUS_PATH=''
    SAL_BUS_ENV='Test'
    PFS_SITE_URL='https://paymidbackpre.azurewebsites.net/webservices.php/checkout/bridgePayment'
    PFS_SITE_ID=''
    PFS_SITE_SECRET=''
    SAL_FTP_PASSWORD=''
    SAL_FTP_USERNAME='pige_pim_the_test'
    SAL_FTP_PATH='/VEL/PPROD/'
    ETL_FTP_PATH='/PIM/'
    ORDER_MAIL_RECEIVER='php@sedona.fr'
    ORDER_MAIL_EXPEDITOR='php@sedona.fr'
    WEBHOOK_PASSWORD='Thermor2022'

    ########## ENV ATLANTIC DOC GA ############
    ERP_DOC_GA_API_KEY=''
    ERP_DOC_GA_API_SECRET=''

    ########## ENV ATLANTIC DQE ############
    DQE_HOST='https://preprod.dqe-software.com/'
    DQE_LICENCE='U0TrRxU0WbGvJAsBrg8.UFw-ic'

    ########## USER ACCOUNT #################
    # ID360 application name : THE_Mon Compte
    ID360_API_HOST=https://apis.groupe-atlantic.com
    ID360_API_BASE_PATH=/id360/iriswcfservice
    ID360_API_TIMEOUT=30
    ID360_API_UNIQUEID=moncompte_b2c_prod
    ID360_API_BASIC=~
    ID360_API_CLIENT_ID=~
    ID360_API_CLIENT_SECRET=~
    ID360_RECOVER_URL=https://idp.thermor.fr/accountrecoveryendpoint/recoveraccountrouter.do
    ID360_CALLBACK_PATH=${PROJECT_SCHEME}://www.${PROJECT_HOST}

    CRYPT_KEY=~
    JWT_SECRET=~
    JWT_CLAIMS_SECRET=~
    ZENDESK_BASE_URL=https://assistance.thermor.fr/hc/fr
    REMEMBERME_COOKIE_LIFETIME=2419200

    # In all environments, the following files are loaded if they exist,
    # the latter taking precedence over the former:
    #
    #  * .env                contains default values for the environment variables needed by the app
    #  * .env.local          uncommitted file with local overrides
    #  * .env.$APP_ENV       committed environment-specific defaults
    #  * .env.$APP_ENV.local uncommitted environment-specific overrides
    #
    # Real environment variables win over .env files.
    #
    # DO NOT DEFINE PRODUCTION SECRETS IN THIS FILE NOR IN ANY OTHER COMMITTED FILES.
    #
    # Run "composer dump-env prod" to compile .env files for production use (requires symfony/flex >=1.2).
    # https://symfony.com/doc/current/best_practices.html#use-environment-variables-for-infrastructure-configuration

    ###> symfony/framework-bundle ###
    APP_ENV=dev
    APP_SECRET=a442c87f4615376ac6d92905604d7005
    ###< symfony/framework-bundle ###

    ###> symfony/mailer ###
    MAILER_DSN=smtp://mailhog:1025
    ###< symfony/mailer ###

    ###> doctrine/doctrine-bundle ###
    # Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url
    # IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml
    #
    # DATABASE_URL="sqlite:///%kernel.project_dir%/var/data.db"
    # DATABASE_URL="mysql://db_user:db_password@127.0.0.1:3306/db_name?serverVersion=5.7"
    # DATABASE_URL="postgresql://db_user:db_password@127.0.0.1:5432/db_name?serverVersion=13&charset=utf8"
    ###< doctrine/doctrine-bundle ###

    ###> symfony/swiftmailer-bundle ###
    # For Gmail as a transport, use: "gmail://username:password@localhost"
    # For a generic SMTP server, use: "smtp://localhost:25?encryption=&auth_mode="
    # Delivery is disabled by default via "null://localhost"
    MAILER_URL=smtp://mailhog:1025
    ###< symfony/swiftmailer-bundle ###

    ###> nelmio/cors-bundle ###
    CORS_ALLOW_ORIGIN='^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$'
    ###< nelmio/cors-bundle ###

    ###> lexik/jwt-authentication-bundle ###
    JWT_SECRET_KEY=%kernel.project_dir%/config/jwt/private.pem
    JWT_PUBLIC_KEY=%kernel.project_dir%/config/jwt/public.pem
    JWT_PASSPHRASE=91c47400f6541d30b9b966acc1194654
    ###< lexik/jwt-authentication-bundle ###

    ###> symfony/lock ###
    # Choose one of the stores below
    # postgresql+advisory://db_user:db_password@localhost/db_name
    LOCK_DSN=semaphore
    ###< symfony/lock ###

    ###> nelmio/solarium-bundle ###
    SOLR_HOST=localhost
    SOLR_CORE=example
    ###< nelmio/solarium-bundle ###

    ###> google/recaptcha ###
    # To use Google Recaptcha, you must register a site on Recaptcha's admin panel:
    # https://www.google.com/recaptcha/admin
    GOOGLE_RECAPTCHA_SITE_KEY=
    GOOGLE_RECAPTCHA_SECRET_KEY=
    GOOGLE_RECAPTCHA_VALIDATION_URL=https://www.google.com/recaptcha/api/siteverify
    ###< google/recaptcha ###

    ###> excelwebzone/recaptcha-bundle ###
    EWZ_RECAPTCHA_SITE_KEY=
    EWZ_RECAPTCHA_SECRET=
    ###< excelwebzone/recaptcha-bundle ###

    ###> knplabs/knp-snappy-bundle ###
    WKHTMLTOPDF_PATH=/usr/local/bin/wkhtmltopdf
    WKHTMLTOIMAGE_PATH=/usr/local/bin/wkhtmltoimage
    ###< knplabs/knp-snappy-bundle ###

    ###> ibexa/experience ibexa/commerce ###
    PRIVATE_SHOP_GROUP_USER_ID=489114
    BUSINESS_SHOP_GROUP_USER_ID=489115
    SEARCH_ENGINE=legacy
    # Uncomment following line if you want to change the purge type.
    # By default it will use `local` purge when running locally
    # and `varnish` for Platform.sh installations.
    HTTPCACHE_PURGE_TYPE=local
    HTTPCACHE_DEFAULT_TTL=86400
    HTTPCACHE_PURGE_SERVER=http://localhost:80
    HTTPCACHE_VARNISH_INVALIDATE_TOKEN=
    CACHE_POOL=cache.tagaware.filesystem
    # When using redis or memcached adapters, you can configure it using DSN:
    # - https://symfony.com/doc/4.4/components/cache/adapters/redis_adapter.html#configure-the-connection
    # - https://symfony.com/doc/4.4/components/cache/adapters/memcached_adapter.html#configure-the-connection
    CACHE_DSN=localhost
    CACHE_NAMESPACE=ezp
    DATABASE_CHARSET=utf8mb4
    DATABASE_COLLATION=utf8mb4_unicode_520_ci
    # Needed by Doctrine Bundle / ORM to avoid it opening connection during situations where there is no service yet.
    # See: https://symfony.com/doc/current/reference/configuration/doctrine.html#doctrine-dbal-configuration
    DATABASE_VERSION=mariadb-10.3.0
    SESSION_HANDLER_ID=session.handler.native_file
    SESSION_SAVE_PATH=%kernel.project_dir%/var/sessions/%kernel.environment%
    SOLR_CORE=collection1
    # Enable recommendations by setting valid id, key and uri
    RECOMMENDATION_CUSTOMER_ID=0
    RECOMMENDATION_LICENSE_KEY=
    RECOMMENDATION_HOST_URI=
    ELASTICSEARCH_DSN=http://localhost:9200
    # Enable fastly by setting valid service_id and key
    # In order for this to work you also need to have EzSystemsPlatformFastlyCacheBundle installed
    # FASTLY_SERVICE_ID=""
    # FASTLY_KEY=""
    SISO_SEARCH_SOLR_HOST=localhost
    SISO_SEARCH_SOLR_PORT=8983
    SISO_SEARCH_SOLR_CORE=collection1
    # Do not add 'solr' to the path. It is automatically added by SolariumBundle
    SISO_SEARCH_SOLR_PATH=
    # SolariumBundle Solr DSN configuration
    # Note that /solr suffix will be appended autmatically to eZ Platform Solr Search Engine Bundle configuration
    SOLR_DSN=http://${SISO_SEARCH_SOLR_HOST}:${SISO_SEARCH_SOLR_PORT}${SISO_SEARCH_SOLR_PATH}
    JMS_PAYMENT_SECRET=def00000706ea7318427e72fcea2c8ceb86773a4310e35119c48e3029196acfead1ba8cc898f48d1ef9cb3f7ebe191ab46eaf67ec94a2b6bd17c079ac7277de0175b9e3e
    ###< ibexa/experience ibexa/commerce ###

    # New store locator bundle
    STORELOCATOR_DQE_BASE_URL=https://prod2.dqe-software.com/
    STORELOCATOR_DQE_LICENCE_KEY=U0TrRxU0WbGvJAsBrg8.UFw-ic
    STORELOCATOR_DATABASE_URL=${DATABASE_PLATFORM}://${DATABASE_USER}:${DATABASE_PASSWORD}@${DATABASE_HOST}:${DATABASE_PORT}/${DATABASE_NAME}

    # Google maps API keys must have access to services: Maps JavaScript API , Places API et Geocoding API
    # The frontend API key is filtered by domain and must be used for front requests (in the browser)
    STORELOCATOR_GOOGLE_MAPS_FRONTEND_API_KEY=AIzaSyC26KMD6t4WI_hEO489anGuL2H_TfEYLIU
    # The backend API key is filtered by IP and must be used for backend requests
    STORELOCATOR_GOOGLE_MAPS_BACKEND_API_KEY=AIzaSyDOKyImssLebZ4b0g4fSpWHrC1tE21rfbY
    STORELOCATOR_THERMORPRO_URL=https://www.staging-5em2ouy-wcpnj7eh7hkrq.eu-5.platformsh.site
    STORELOCATOR_SHOWROOM_FTP_CONNECTION_STRING=ftp://{user}:{password}@{host}:{port}
    STORELOCATOR_SHOWROOM_CSV_FILENAME=showrooms_gammes.csv
    STORELOCATOR_INSTALLER_FTP_CONNECTION_STRING=sftp://site:site@127.0.0.1:22
    STORELOCATOR_INSTALLER_FTP_EXPORT_DIR=s/TEST/THERMOR/LOYALTY
    # The admin email who may receive some technical notifications when some errors occur
    STORELOCATOR_ADMIN_NOTIFICATION_EMAIL=email@domain.com
    STORELOCATOR_GOOGLE_RECAPTCHA_SITE_KEY=
    STORELOCATOR_GOOGLE_RECAPTCHA_SECRET_KEY=