summaryrefslogtreecommitdiffstatshomepage
path: root/docker
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-10-13 00:32:55 +0500
committerEgor Tensin <egor@tensin.name>2026-10-13 00:32:59 +0500
commite231346fdd87520b0cd154aaab8a366f49a9a953 (patch)
treeb541835914663ddc14a7ffcbd2a285046c362a4a /docker
parentworkflows/ci: prettify YAML (diff)
downloadcgitize-e231346fdd87520b0cd154aaab8a366f49a9a953.tar.gz
cgitize-e231346fdd87520b0cd154aaab8a366f49a9a953.zip
reshuffle Docker-related files
* The root docker-compose.yml was not used anywhere but the tests, so its contents was moved there. * Some more refactoring and shortening of paths in t/i/docker. * Removed .dockerignore files - I don't think they're needed, since I always use explicit COPY instructions with paths, etc., but I may as well be quite wrong on this one. * Removed examples/docker/ - don't think this one was used at all?
Diffstat (limited to 'docker')
-rw-r--r--docker/README.md7
1 files changed, 5 insertions, 2 deletions
diff --git a/docker/README.md b/docker/README.md
index a0d51a1..32aad34 100644
--- a/docker/README.md
+++ b/docker/README.md
@@ -53,14 +53,17 @@ services:
restart: unless-stopped
volumes:
- ./example.toml:/etc/cgitize/cgitize.toml:ro
- - /srv/volumes/cgitize:/mnt/cgitize
+ - repositories:/mnt/cgitize
frontend:
image: egortensin/cgitize-frontend:8
ports:
- '127.0.0.1:80:80'
restart: unless-stopped
volumes:
- - /srv/volumes/cgitize:/mnt/cgitize:ro
+ - repositories:/mnt/cgitize:ro
+
+volumes:
+ repositories:
```
In this configuration, cgitize pulls repositories defined in example.toml every