diff options
| author | Egor Tensin <egor@tensin.name> | 2026-10-12 12:06:45 +0500 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-10-12 12:07:25 +0500 |
| commit | a96d5e0f409c764f259df0963319ae4155436f12 (patch) | |
| tree | e8db4615054213bbfba1145860951554ca403f04 /docker/README.md | |
| parent | README: update (diff) | |
| download | cgitize-a96d5e0f409c764f259df0963319ae4155436f12.tar.gz cgitize-a96d5e0f409c764f259df0963319ae4155436f12.zip | |
docker: syntax highlighting in READMEv8.0.5
Diffstat (limited to '')
| -rw-r--r-- | docker/README.md | 40 |
1 files changed, 21 insertions, 19 deletions
diff --git a/docker/README.md b/docker/README.md index 55c6b90..a0d51a1 100644 --- a/docker/README.md +++ b/docker/README.md @@ -41,25 +41,27 @@ Compose Here's an example docker-compose.yml file: - services: - cgitize: - environment: - # Every 3 hours: - SCHEDULE: '0 */3 * * *' - # Set CGITIZE_{GITHUB,BITBUCKET,GITLAB}_{USERNAME,TOKEN} variables - # here or in the config file. - image: egortensin/cgitize:8 - restart: unless-stopped - volumes: - - ./example.toml:/etc/cgitize/cgitize.toml:ro - - /srv/volumes/cgitize:/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 +```yaml +services: + cgitize: + environment: + # Every 3 hours: + SCHEDULE: '0 */3 * * *' + # Set CGITIZE_{GITHUB,BITBUCKET,GITLAB}_{USERNAME,TOKEN} variables + # here or in the config file. + image: egortensin/cgitize:8 + restart: unless-stopped + volumes: + - ./example.toml:/etc/cgitize/cgitize.toml:ro + - /srv/volumes/cgitize:/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 +``` In this configuration, cgitize pulls repositories defined in example.toml every 3 hours and puts them to /srv/volumes/cgitize on the host. |
