Skip to content
Snippets Groups Projects
  1. Aug 24, 2023
    • Robert Lange's avatar
      refs #24354 [finc] add Dockerfile for php 8.0 · 94379fb4
      Robert Lange authored
      * fix xdebug settings
      * fix gd library for dynamic covers
      * set php version as variable in .env file
      ** for local development: copy .env.local to .env
      ** after changing run "docker-compose build php" or "docker-compose up --build --force-recreate" to start immediately
      
      * also refs 23937
      2 tags
      94379fb4
    • Robert Lange's avatar
      refs #24353 [finc] update grunt node and dependencies · dcc448ab
      Robert Lange authored
      * delete npm-shrinkwrap
      * adapt gruntfile due to newer version of node-sass
      * add option sass
      * add option sourceMap
      * sync with dev regex in config
      * ignore compiled.css.map
      * update package.json, package.lock and composer.lock due to grunt and node-sass
      * exclude sandal theme from build and watch
      * extract docker image and install to separate Dockerfile
      * exclude sandal theme from build and watch
      dcc448ab
    • Robert Lange's avatar
      refs #24354 [finc] fix missing db connection on first install · 663648b9
      Robert Lange authored
      * let db container depend on autoconfig and env
      * wait for Password in db file (file could exist before password written)
      * autoconfig: remove circle dependeny on db service
      663648b9
  2. Aug 15, 2023
    • Robert Lange's avatar
      refs #23938 [finc] update docker environment part 1 · f5edf4e2
      Robert Lange authored and Mathias Maaß's avatar Mathias Maaß committed
      * replace deprecated linkyard/yaml by governmentpaas/spruce
      * env entrypoint: create user dev if not existing
      * env entrypoint: do not create user dev if not existing
      * do not use vufind-httpd - but still depend on ubleipzig/httpd
      * do not use ubl httpd docker image - but shibboleth is missing
      * do not use ubl httpd docker image - but shibboleth is missing
      * docker: integrate ssl within vufind conf
      * docker: add port for https on 11105
      * mail: switch to new image
      * todo: configuration
      * todo: forwarding all mails to honey pot
      
      refs #23938 [finc] REVERT docker mail: switch to new image
      
      * This reverts commit 79057c90.
      * move to 24355
      3 tags
      f5edf4e2
  3. Apr 13, 2023
  4. May 12, 2022
  5. Feb 07, 2022
  6. Jan 14, 2022
  7. Jan 22, 2021
  8. Jul 23, 2020
    • Robert Lange's avatar
      refs #17714 [master] use inheritance for searchspecs.yaml · 2011eba2
      Robert Lange authored and Dorian Merz's avatar Dorian Merz committed
      * prepare testing directory structure for yaml comparism
      ** add fixtures in same order as config files
      ** use symlinks for real configs
      ** use result searchspecs for old outcome before refactoring
      * fix finc test setup for docker
      * add finc SearchSpecsReaderTest
      ** run: docker exec -it [php container] sh -c "vendor/bin/phpunit --configuration module/finc/tests/phpunit.xml module/finc/tests/unit-tests/src/fincTest/Config/SearchSpecsReaderTest.php"
      [--filter testParentYaml]"
      
      * in local searchspecs.yaml
      ** use vufind as parent and keep only delta
      * in local alpha searchspecs.yaml
      ** use local as parent, no delta
      
      * use autoconfig version 2.3.3, see also https://git.sc.uni-leipzig.de/ubl/bdd_dev/webmasterei/autoconfig/-/commit/7b396da68c63820c869d45ca655d70d77b417aef
      * add env var for local searchspecs.yaml in docker-env.0.finc.yml
      2011eba2
  9. Mar 13, 2020
  10. Mar 11, 2020
    • Sebastian Kehr's avatar
      refs #17116 [master-v5] Docker fixups · eea72d69
      Sebastian Kehr authored and Dorian Merz's avatar Dorian Merz committed
      * avoid necessity of special chars in autoconfig specific environment variable names
      
      * assure env file is generated for mail container
      * let generated searches.ini file contain an empty index shards section by default
      
      * ignore data folder completely
      * use updated version of vufind-httpd image
      * let env container write with uid:gid of project root
      * let composer event handlers being called with correct uid:gid
      * add xsl and dom php extensions
      
      * avoid high cpu usage by endless loops
      eea72d69
  11. Mar 06, 2020
  12. Mar 03, 2020
    • Sebastian Kehr's avatar
      refs #16923 [master-v5] docker development consolidation · ecb94e9d
      Sebastian Kehr authored and Dorian Merz's avatar Dorian Merz committed
      * no more usage of slow vufind-php image for various containers
      * use stock docker library images where possible for faster startup
      * build custom images for php and composer only to include xdebug and required extensions
      * provide and leverage custom entrypoint shell scripts for most containers
      * inject environment variables defined in docker-env.*.yml files within entrypoints
      * place environment variables defaults in in docker-env.0.finc.yml
      * place composer and npm caches in git-ignored subdirectories of project root directory
      * gracefully terminate all container processes (especially grunt and mail) for faster shutdown
      * let versions of php and mariadb equal those in current live systems
      * let container-written files have uid/gid of project root directory by default
      * forward exposed container ports to non-standard ports on host system
      * allow to override uid/gid of written files as well as host ports via environment variables
      
      * specify exact au...
      ecb94e9d