diff --git a/README.rst b/README.rst index 538c198..b7767fe 100644 --- a/README.rst +++ b/README.rst @@ -57,6 +57,10 @@ host machine. Docker Compose ^^^^^^^^^^^^^^ +Create the folder that will receive the projects, forks, docs, requests and +tickets' git repo:: + + mkdir -p lcl/{repos,remotes,attachments,releases} A docker compose environment is available to run pagure. First use the following command to build the containers. :: diff --git a/dev/docker-compose.yml b/dev/docker-compose.yml index 44c3a0f..aab44ef 100644 --- a/dev/docker-compose.yml +++ b/dev/docker-compose.yml @@ -13,14 +13,8 @@ services: ports: - "5000:5000" volumes: - - type: volume - source: ../lcl/repos - target: /repos - read_only: false - - type: volume - source: ../lcl/attachments - target: /attachments - read_only: false + - ../lcl/repos:/repos + - ../lcl/attachments:/attachments - ..:/code:z worker: build: @@ -31,14 +25,8 @@ services: - postgresql image: pagure-worker:latest volumes: - - type: volume - source: ../lcl/repos - target: /repos - read_only: false - - type: volume - source: ../lcl/attachments - target: /attachments - read_only: true + - ../lcl/repos:/repos + - ../lcl/attachments:/attachments - ..:/code:z environment: - PYTHONPATH=.