diff options
authorMax Magorsch <max@magorsch.de>2019-08-31 18:31:07 +0200
committerMax Magorsch <max@magorsch.de>2019-09-01 03:23:35 +0200
commit43d6930738063dcac7df523582a16b4eacd49814 (patch)
tree8a1f221f99d0d8c0724d91cc2c897835aca258ea /docker-compose.yml
parentEnsure that the rake version bundled in Gemfile.lock is used (diff)
Added docker-compose.override.yml for development purposes
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>
Diffstat (limited to 'docker-compose.yml')
1 files changed, 5 insertions, 1 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index 7c10720..d3d5d58 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -1,5 +1,5 @@
-version: '2'
+version: '3.2'
# p.g.o consists nominally of:
# A service to sync the tree to $TREE_DIR && update the index.
# The index updater simply submits work items into sidekiq.
@@ -11,6 +11,10 @@ version: '2'
# - Elasticsearch: runs the elasticsearch service.
# - Redis: Run Redis for Sidekiq.
# - Refresher: Syncs the package tree and pushes updates into sidekiq.
+# For further information about usage during development / production
+# please refer to docker-compose.override.yml
# Build from Dockerfile in .