Skip to content
Snippets Groups Projects
Commit 14d2c6a7 authored by Mathias Goebel's avatar Mathias Goebel :reminder_ribbon:
Browse files

init setup

parent f2eb5186
No related branches found
No related tags found
No related merge requests found
# 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=ffd665a7c5492ceb110881e167cd2603
......@@ -10,8 +6,10 @@ APP_SECRET=ffd665a7c5492ceb110881e167cd2603
###< symfony/framework-bundle ###
###> nelmio/solarium-bundle ###
SOLR_HOST=localhost
SOLR_CORE=example
SOLR_HOST=solr
#SOLR_HOST=dev.gflsolr.sub.uni-goettingen.de
SOLR_PORT=8983
SOLR_CORE=gfl
###< nelmio/solarium-bundle ###
WEB_DOCUMENT_ROOT=/app/public/
......@@ -24,4 +22,9 @@ PHP_MEMORY_LIMIT=1024M
CORS_ALLOW_ORIGIN='^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$'
###< nelmio/cors-bundle ###
MAIN_DOMAIN=https://localhost:8000
MAIN_DOMAIN=http://127.0.0.1:1745
STORAGE_ENDPOINT=http://s3.fs.gwdg.de
STORAGE_KEY=L8G27WRB04ZCIJJOJFCR
STORAGE_SECRET=OLXl3sfe3UrGyE1bP6v9RW5hCRXOlhXRId4TvIFI
STORAGE_BUCKET=gfl
\ No newline at end of file
......@@ -26,3 +26,8 @@ yarn-error.log
###> symfony/web-server-bundle ###
/.web-server-pid
###< symfony/web-server-bundle ###
###> solr
solr/gfl/data/
solr/gfloffline/data/index/write.lock
###<
\ No newline at end of file
......@@ -2,7 +2,7 @@ nelmio_solarium:
endpoints:
default:
host: "%env(SOLR_HOST)%"
#port: "%env(SOLR_PORT)%"
port: "%env(SOLR_PORT)%"
core: "%env(SOLR_CORE)%"
# The following are the default parameters for Solarium client:
# scheme: http
......
......@@ -5,7 +5,9 @@ services:
volumes:
- ./solr:/var/solr/data/solr
ports:
- '9990:8983'
- '8983:8983'
networks:
- default
web:
image: webdevops/php-apache-dev:7.4
env_file:
......@@ -17,3 +19,8 @@ services:
links:
- solr
working_dir: /app
networks:
- default
networks:
default:
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment