aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add watchtower to automatically deploy new imagesMax Magorsch2020-02-101-0/+10
| | | | | | | | | | | Watchtower will automatically check whether a new version of a container image is present in the specified container registry. If so, watchtower will automatically pull the new image and restart the container. By default, watchtower will look for new images every 5 minutes. Signed-off-by: Max Magorsch <arzano@gentoo.org>
* Prepare docker-compose.yml for usage in productionMax Magorsch2020-02-091-19/+26
| | | | Signed-off-by: Max Magorsch <arzano@gentoo.org>
* Fix an issue in the docker-compose filesMax Magorsch2020-01-031-2/+4
| | | | | | | | | | | | | Replace the kkuleomi_config.rb file by the kkuleomi_config.rb.dist file, when using docker-compose.yml or docker-compose.override.yml. This is important as kkuleomi_config.rb is replaced by the kkuleomi_config.rb.test whenever the tests are executed. Consequently it is important to apply the kkuleomi_config.rb.dist file again after the test have been run i.e. when running docker-compose.yml or docker-compose.override.yml. Signed-off-by: Max Magorsch <max@magorsch.de>
* Migrate the project from sprockets to webpackerMax Magorsch2020-01-031-0/+2
| | | | | | | | | | | | | | | | | | | The asset pipeline was introduced in Rails 3.1. However, since Rails 5.1 webpacker has been available, so that it's possible to use webpack. The project has been fully migrated to use webpacker for bundeling javascripts as well as stylesheets now. This way, sprockets has been completely replaced and removed from the project. Associated gems as jquery-rails have been removed as well. Accordingly all advanced webpack functionalities are available now. The bin/first-run file as well as the Dockerfiles have been adjusted to use webpacker instead of the asset pipeline. Please note: In order to use webpacker, yarn has to be installed on the target system. Please make sure that 'yarnpkg' is in your path. Signed-off-by: Max Magorsch <max@magorsch.de>
* Build the docker images if they are not presentMax Magorsch2020-01-011-0/+2
| | | | Signed-off-by: Max Magorsch <max@magorsch.de>
* Use the new gentoo/gpackages image in docker-compose.ymlMax Magorsch2020-01-011-2/+2
| | | | Signed-off-by: Max Magorsch <max@magorsch.de>
* Run the initialization scripts using docker-composefeature/es-7.3developMax Magorsch2019-09-051-1/+1
| | | | | | | | docker-compose can be used to deploy the application. The index will be initialized and updated. Furthermore a cron job will be registered for production environments to update the index every 10 minutes. ° Signed-off-by: Max Magorsch <max@magorsch.de>
* Use docker volumes for the portage treeMax Magorsch2019-09-051-0/+18
| | | | Signed-off-by: Max Magorsch <max@magorsch.de>
* Use ES 7.3 in the DockerfileMax Magorsch2019-09-051-1/+1
| | | | | | Furthermore dejavu 3.4.0 will be used. Signed-off-by: Max Magorsch <max@magorsch.de>
* Added docker-compose.override.yml for development purposesMax Magorsch2019-09-011-1/+5
| | | | | | | | | | | | | | | | | | | | | | | The newly added docker-compose.override.yml file overrides settings in docker-compose.yml for development purposes. In particular: - the source code will be mounted into the container for live reloading during the development - dejavu is used as gui for elasticsearch for debugging purposes - cors is enabled in elasticsearch for usage with dejavu These settings will automatically be used when executing: $ docker-compose up If you, however, don't want to use these settings (e.g. in production) use: $ docker-compose -f docker-compose.yml up For further information please refer to: https://docs.docker.com/compose/extends/#multiple-compose-files Signed-off-by: Max Magorsch <max@magorsch.de>
* Add these so I can work remotely.Alec Warner2018-02-051-0/+61