Skip to content

Commit

Permalink
Merge pull request #5 from Born-Digital-US/development
Browse files Browse the repository at this point in the history
Wodby proto port to ISLE dc local
  • Loading branch information
Gavin Morris authored Feb 21, 2020
2 parents 5944f75 + f313de3 commit 0310358
Show file tree
Hide file tree
Showing 20 changed files with 23,068 additions and 215 deletions.
132 changes: 60 additions & 72 deletions .env
Original file line number Diff line number Diff line change
@@ -1,87 +1,86 @@
## ISLE 8 Draft Prototype
## January 22, 2020
## Feb 2020 - MVP 1
## Release (Alpha) (0.0.1)

### Docker-compose
### PROJECT SETTINGS

COMPOSE_PROJECT_NAME=isle_dc_proto
DOMAIN=idcp.localdomain
CONTAINER_SHORT_ID=idcp
PROJECT_NAME=isle_dc_proto
PROJECT_BASE_URL=idcp.localhost
PROJECT_SHORT_ID=idcp

### --- APACHE ---

### ActiveMQ
# TO DO: Determine if ENVs are needed here to allow for tuning, flexibility in configuration or exposing features
# TO DO: Determine what are appropriate logging levels and pipe to stdout, add logging levels below
# ENVS https://github.com/wodby/apache

ActiveMQ_LOG=WARN
APACHE_TAG=2.4-4.1.5

### --- MARIADB ----

### Drupal
# TO DO: Determine if ENVs are needed here to allow for tuning, flexibility in configuration or exposing features
# TO DO: Determine what are appropriate logging levels and pipe to stdout, add logging levels below
# TO DO: How to expose slow query log abilities?

# For MVP 1: One can use these envs below to automagically create one db (drupal_db), user and password upon init.
# From https://hub.docker.com/_/mysql:
# "Do note that none of the variables below will have any effect if you start the container with a data directory that
# already contains a database: any pre-existing database will always be left untouched on container startup."
# From https://hub.docker.com/_/drupal use drupal as database

### Blazegraph
# TO DO: Determine what ENVs are necessary for configuration or startup.
# TO DO: Determine what are appropriate logging levels and pipe to stdout, add logging levels below

BLAZEGRAPH_UID=$UID
BLAZEGRAPH_GID=$GROUPS

BLAZEGRAPH_ROOT_CATEGORY_LOG=WARN
BLAZEGRAPH_BIGDATA_LOG=WARN
BLAZEGRAPH_BIGDATA_BTREE_LOG=WARN
BLAZEGRAPH_BIGDATA_RULE_LOG=INFO

MARIADB_TAG=10.4-3.6.8
#MARIADB_TAG=10.3-3.6.8
#MARIADB_TAG=10.2-3.6.8
#MARIADB_TAG=10.1-3.6.8

### Cantaloupe
# TO DO: Determine what ENVs are necessary for configuration or startup.
# TO DO: Determine what are appropriate logging levels and pipe to stdout, add logging levels below
DB_NAME=drupal
DB_USER=drupal_user
DB_PASSWORD=drupal_user_pw
DB_ROOT_PASSWORD=root_pw
DB_HOST=mariadb
DB_PORT=3306
DB_DRIVER=mysql
DB_PREFIX= #leave blank unless you need an actual prefix

CANTALOUPE_UID=999
CANTALOUPE_GID=999
### --- PHP ----

# Linux (uid 1000 gid 1000)

### Fcrepo (Fedora)
# TO DO: Determine what ENVs are necessary for configuration or startup.
# TO DO: Determine what are appropriate logging levels and pipe to stdout, add logging levels below
PHP_TAG=7.3-dev-4.14.2
#PHP_TAG=7.2-dev-4.14.2
#PHP_TAG=7.1-dev-4.14.2
#PHP_TAG=5.6-dev-4.14.2

# macOS (uid 501 gid 20)

### MySQL
# TO DO: Determine if ENVs are needed here to allow for tuning, flexibility in configuration or exposing features
# TO DO: Determine what are appropriate logging levels and pipe to stdout, add logging levels below
# TO DO: How to expose slow query log abilities?
#PHP_TAG=7.3-dev-macos-4.14.2
#PHP_TAG=7.2-dev-macos-4.14.2
#PHP_TAG=7.1-dev-macos-4.14.2
#PHP_TAG=5.6-dev-macos-4.14.2

MYSQL_ROOT_PASSWORD=# Replace this comment with a recommended password of 26 alpha-numeric characters. Should this be here?
MYSQL_DATABASE=drupal
MYSQL_USER=user
MYSQL_PASSWORD=password
MYSQL_ROOT_PASSWORD=password

### --- SOLR ---

### Postgres
# TO DO: Determine what ENVs are necessary for configuration or startup.
# TO DO: Determine what are appropriate logging levels and pipe to stdout, add logging levels below. Should this be here?
SOLR_CONFIG_SET="search_api_solr_8.x-3.2"
#SOLR_CONFIG_SET="search_api_solr_8.x-2.7"
#SOLR_CONFIG_SET="search_api_solr_8.x-1.2"
#SOLR_CONFIG_SET="search_api_solr_7.x-1.14"

#POSTGRES_INITDB_ARGS=
#POSTGRES_PASSWORD=
#POSTGRES_USER=
#POSTGRES_DB=
SOLR_TAG=8-4.1.2
#SOLR_TAG=7-4.1.2
#SOLR_TAG=6-4.1.2
#SOLR_TAG=5-4.1.2

## SOLR
# TO DO: Determine what ENVs are necessary for configuration or startup.
# TO DO: Determine what are appropriate logging levels and pipe to stdout, add logging levels below. Should this be here?
# Main Solr log (change this one first to debug)
SOLR_ROOT_LOGGER=WARN
#SOLR_ROOT_LOGGER=WARN

# Additional Solr logs (best to keep at these defaults)
SOLR_ORG_APACHE_ZOOKEEPER_LOG=WARN
SOLR_ORG_APACHE_HADOOP_LOG=WARN
SOLR_ORG_APACHE_SOLR_UPDATE_LOGGINGINFORSTREAM=OFF
#SOLR_ORG_APACHE_ZOOKEEPER_LOG=WARN
#SOLR_ORG_APACHE_HADOOP_LOG=WARN
#SOLR_ORG_APACHE_SOLR_UPDATE_LOGGINGINFORSTREAM=OFF


### --- Tomcat Logger Level for Fcrepo, Solr, Blazegraph etc.

# Tomcat for Fcrepo, Solr, Blazegraph etc.
# Logger Level
# https://tomcat.apache.org/tomcat-8.5-doc/logging.html
# A handler's log level threshold is INFO by default and can be set by using:
# SEVERE, WARNING, INFO, CONFIG, FINE, FINER, FINEST or ALL.
Expand All @@ -96,15 +95,17 @@ SOLR_ORG_APACHE_SOLR_UPDATE_LOGGINGINFORSTREAM=OFF
# disk activity, memory usage, Java memory usage and network activity.
#
# Use these logs for general purpose debugging
TOMCAT_JAVA_UTIL_LOGGING_CONSOLE_HANDLER=WARNING
TOMCAT_LOCALHOST_LOG=WARNING
#TOMCAT_JAVA_UTIL_LOGGING_CONSOLE_HANDLER=WARNING
#TOMCAT_LOCALHOST_LOG=WARNING

# These logs typically document Tomcat logins.
# Used for security and tomcat account auditing.
TOMCAT_LOCALHOST_MANAGER_LOG=WARNING
TOMCAT_LOCALHOST_HOST_MANAGER_LOG=WARNING
#TOMCAT_LOCALHOST_MANAGER_LOG=WARNING
#TOMCAT_LOCALHOST_HOST_MANAGER_LOG=WARNING


### --- Traefik ----

# Traefik
TRAEFIK_LOG_LEVEL=DEBUG
TRAEFIK_PROVIDERS_DOCKER=true
TRAEFIK_PROVIDERS_DOCKER_EXPOSEDBYDEFAULT=false
Expand All @@ -118,16 +119,3 @@ TRAEFIK_ENTRYPOINTS_WEBSECURE_ADDRESS=:443
TRAEFIK_API=false
TRAEFIK_API_DASHBOARD=false
TRAEFIK_API_INSECURE=false

## Matomo
# TO DO: Determine what ENVs are necessary for configuration or startup.
# TO DO: Determine what are appropriate logging levels and pipe to stdout, add logging levels below. Should this be here?
MATOMO_DATABASE_HOST=mysql
MYSQL_PASSWORD=password
MYSQL_DATABASE=matomo
MYSQL_USER=matomo
MATOMO_DATABASE_ADAPTER=mysql
MATOMO_DATABASE_TABLES_PREFIX=matomo_
MATOMO_DATABASE_USERNAME=matomo
MATOMO_DATABASE_PASSWORD=password
MATOMO_DATABASE_DBNAME=matomo
73 changes: 73 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# =========================
# Custom ignores
# =========================
cfg.php
config.php
*.cfg.php
CONFIG_*
*.config.php
*.bak
*~
_archives
archives
tmp
temp
.idea
.htpasswd
tests/TestNarrowSuite.php


# =========================
# Packages
# =========================
*.7z
*.dmg
*.gz
*.iso
*.rar


# =========================
# Folder config file
# =========================
Desktop.ini

# =========================
# Recycle Bin used on file shares
# =========================
$RECYCLE.BIN/

# =========================
# Windows Installer files
# =========================
*.cab
*.msi
*.msm
*.msp

# =========================
# OS generated files
# =========================
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
.AppleDouble
.LSOverride

#===================
# ISLE specific
data
logs
site
.vagrant
*.retry
.vscode
config/proxy/acme.json

#===================
## Wodby proto specific
codebase
File renamed without changes.
68 changes: 68 additions & 0 deletions config/drupal/search_api.server.default_solr_server.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
uuid: aa756bcf-d0eb-4de2-abca-46f4986c4428
langcode: en
status: true
dependencies:
config:
- search_api_solr.solr_cache.cache_document_default_7_0_0
- search_api_solr.solr_cache.cache_fieldvalue_default_7_0_0
- search_api_solr.solr_cache.cache_filter_default_7_0_0
- search_api_solr.solr_cache.cache_persegfilter_default_7_0_0
- search_api_solr.solr_cache.cache_queryresult_default_7_0_0
- search_api_solr.solr_field_type.text_edge_und_7_0_0
- search_api_solr.solr_field_type.text_edgestring_und_6_0_0
- search_api_solr.solr_field_type.text_en_7_0_0
- search_api_solr.solr_field_type.text_ngram_und_7_0_0
- search_api_solr.solr_field_type.text_ngramstring_und_6_0_0
- search_api_solr.solr_field_type.text_phonetic_en_7_0_0
- search_api_solr.solr_field_type.text_phonetic_und_7_0_0
- search_api_solr.solr_field_type.text_und_7_0_0
- search_api_solr.solr_request_dispatcher.request_dispatcher_httpcachingnever_default_7_0_0
- search_api_solr.solr_request_handler.request_handler_autocomplete_default_7_0_0
- search_api_solr.solr_request_handler.request_handler_extract_default_7_0_0
- search_api_solr.solr_request_handler.request_handler_mlt_default_7_0_0
- search_api_solr.solr_request_handler.request_handler_select_default_7_0_0
- search_api_solr.solr_request_handler.request_handler_spell_default_7_0_0
- search_api_solr.solr_request_handler.request_handler_suggest_default_7_0_0
- search_api_solr.solr_request_handler.request_handler_tvrh_default_7_0_0
module:
- search_api_solr
_core:
default_config_hash: _DKsimfQ-fLQ6YLEjuoEJ2cxxunBjtMWUygs34KoamA
id: default_solr_server
name: 'Solr Server'
description: 'Default Solr server created by the Solr Search Defaults module'
backend: search_api_solr
backend_config:
connector: standard
connector_config:
scheme: http
host: solr
port: 8983
path: /
core: d8
timeout: 5
index_timeout: 10
optimize_timeout: 15
finalize_timeout: 30
commit_within: 10
solr_version: ''
http_method: AUTO
jmx: false
solr_install_dir: ../../..
disabled_field_types: { }
disabled_caches: { }
disabled_request_handlers:
- request_handler_elevate_default_7_0_0
- request_handler_replicationmaster_default_7_0_0
- request_handler_replicationslave_default_7_0_0
disabled_request_dispatchers:
- request_dispatcher_httpcaching_default_7_0_0
rows: 10
retrieve_data: false
highlight_data: false
skip_schema_check: false
server_prefix: ''
domain: generic
environment: default
optimize: false
site_hash: true
Loading

0 comments on commit 0310358

Please sign in to comment.