]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
docker-compose: add some usage notes to the file 1592/head
authorKyr Shatskyy <kyrylo.shatskyy@suse.com>
Thu, 15 Jul 2021 11:10:05 +0000 (13:10 +0200)
committerKyr Shatskyy <kyrylo.shatskyy@suse.com>
Thu, 15 Jul 2021 11:10:05 +0000 (13:10 +0200)
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
docker-compose.yml

index 3d36cc129433c67f052320badd39b6cdb17ad2a7..ca57986cb2c9587556c205222b3a05df75cc7b63 100644 (file)
@@ -1,3 +1,42 @@
+#
+# How to use this file
+# ====================
+#
+# Before moving forward the docker must be installed and your user
+# must be in docker group, for example for openSUSE do the following:
+#
+#   sudo zypper in docker
+#   sudo usermod -a -G docker $USER
+#
+# Note: to activate user group relogin might be required.
+#
+# Create a directory where the development setup be located.
+# Go to the directory and checkout pulpito, paddles, and teuthology.
+#
+#   git clone https://github.com/ceph/paddles
+#   git clone https://github.com/ceph/pulpito
+#   git clone https://github.com/ceph/teuthology
+#
+# Note: use your own repos or branches.
+#
+# Go to teuthology, bootstrap virtual environment and install docker-composer.
+#
+#   cd teuthology
+#   ./bootstrap
+#   . virtualenv/bin/activate
+#   pip install docker-compose
+#
+# Make sure docker is running, build images for postgres, paddles, pulpito and beanstalk.
+#
+#   sudo systemctl start docker
+#   docker-compose build
+#
+# Run the services:
+#
+#   docker-compose up
+#
+# Todo: add worker or/and dispatcher service
+
 version: "3.7"
 
 services:
@@ -40,4 +79,3 @@ services:
         build: beanstalk/alpine
         ports:
             - "11300:11300"
-    # todo: teuthology-worker