From 5e20f6f81588719907d3ce1b0c71af5e071a1e6d Mon Sep 17 00:00:00 2001 From: Kyr Shatskyy Date: Thu, 15 Jul 2021 13:10:05 +0200 Subject: [PATCH] docker-compose: add some usage notes to the file Signed-off-by: Kyr Shatskyy --- docker-compose.yml | 40 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 3d36cc129..ca57986cb 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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 -- 2.47.3