diff options
| author | RATDAD <lambda@disroot.org> | 2026-03-14 19:09:51 -0400 |
|---|---|---|
| committer | RATDAD <lambda@disroot.org> | 2026-03-14 19:09:51 -0400 |
| commit | c4370a17dec7c1090c92efc195f6bd1188ba9bde (patch) | |
| tree | 9e421f1f16ea409865a371adb4902e604ec5f299 /stacks/scm/compose.yml | |
| parent | 2578d12ea47d10130472a845244e4aaac48897cb (diff) | |
| download | rd-cloud-dev.tar.gz rd-cloud-dev.tar.bz2 rd-cloud-dev.zip | |
refactor: alter the position of environment files and container routingdev
Diffstat (limited to 'stacks/scm/compose.yml')
| -rw-r--r-- | stacks/scm/compose.yml | 25 |
1 files changed, 10 insertions, 15 deletions
diff --git a/stacks/scm/compose.yml b/stacks/scm/compose.yml index b40dbaf..c1e4bb8 100644 --- a/stacks/scm/compose.yml +++ b/stacks/scm/compose.yml @@ -1,24 +1,19 @@ -name: ${_STACK_0} - networks: - net: - name: ${_NET_0} + edge_net: + name: ${EDGE_NET} external: true services: - cgit: - container_name: ${_CONTAINER_0} + scm: image: ratdad/cgit:latest - env_file: - - .run.env - - .env networks: - - net + - edge_net expose: - 80 volumes: - # TODO: Make these cgit-docker builtins. - - ${_CSS_FILE:-./opt/cgit.css}:/srv/www/htdocs/cgit/cgit.css - - ${_CONFIG_FILE:-./etc/cgitrc}:/etc/cgitrc - - ${_IMPORTS:-./opt/}:/opt - - ${_GIT_ROOT:-./srv/git/}:/srv/git # mount the directory you use for your git server + - ${SECRETS}/scm/cgit.css}:/srv/www/htdocs/cgit/cgit.css + - ${SECRETS}/scm/header.html:/opt/header.html + - ${SECRETS}/scm/footer.html:/opt/footer.html + - ${SECRETS}/scm/README.txt:/opt/README.txt + - ${SECRETS}/scm/cgitrc:/etc/cgitrc + - ${GIT_ROOT}:/srv/git |
