This repository has been archived on 2024-07-19. You can view files and clone it, but cannot push or open issues or pull requests.
spadinastan/services/code-forge/README.md

33 lines
756 B
Markdown
Raw Normal View History

# Code Forge
Forgejo instance serving https://forge.karnov.club.
## Usage
### Starting / restarting
```bash
2024-03-30 00:05:29 +00:00
FORGEJO_ROOT=.. FORGEJO_RUNNER_ROOT=... FORGEJO_RUNNER_CONFIG=... ./start.sh
```
2024-03-30 00:05:29 +00:00
`FORGEJO_ROOT` should be a directory with read+write access by the container user, this is where application data will
get stored.
`FORGEJO_RUNNER_ROOT` should also be read+write accessible and will be where the runner stores data.
`FORGEJO_RUNNER_CONFIG` should point to the runner configuration YAML file. If undefined, the default included with the scripts is used.
Calling the `start.sh` script will replace the containers if they already exists.
### Stopping
```bash
./stop.sh
```
## Networking
| Port | Notes |
|---|---|
|`3000`|Web listening port|