This PR contains the following updates: | Package | Update | Change | |---|---|---| | [codeberg.org/forgejo/forgejo](https://forgejo.org) ([source](https://codeberg.org/forgejo/forgejo)) | major | `8.0` -> `9.0` | --- ### Release Notes <details> <summary>forgejo/forgejo (codeberg.org/forgejo/forgejo)</summary> ### [`v9.0`](https://codeberg.org/forgejo/forgejo/blob/HEAD/RELEASE-NOTES.md#900) The Forgejo v9.0.0 release notes are [available in the v9.0.0 milestone](https://codeberg.org/forgejo/forgejo/milestone/7235). </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xMTkuMCIsInVwZGF0ZWRJblZlciI6IjM4LjExOS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Reviewed-on: #83 Co-authored-by: Renovate Bot <renovate@git.csprung.de> Co-committed-by: Renovate Bot <renovate@git.csprung.de> |
||
---|---|---|
backup | ||
services | ||
setup | ||
tasks | ||
.editorconfig | ||
.env.sample | ||
.gitattributes | ||
.gitignore | ||
LICENSE | ||
README.md | ||
renovate.json | ||
task | ||
Taskfile.yml | ||
THIRD_PARTY_LICENSES |
Containered Server
Private server based on containers and compose
Disclaimer:
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Repo Structure
./services
Service definitions
One subfolder per service with:docker-compose.yml
for this service and its direct dependencies (e.g. db)- Additional config files, possibly as template (see below)
./setup
Host setup
Setup information about a possible alpine host system./tasks
Task definitionscommon.yml
: Base tasks used by other taskscompose.yml
: Container related tasks e.g. starting, updating, or reading logshot.yml
: Tasks related to host system maintenanceservices.yml
: Tasks for specific services
Requirements
envsubst
, most likely via gettext package. Refer to your distros docs.- docker
- docker-compose
Data Persistence
All data SHALL BE stored in $BASE_DIR
(defaults to /srv
), one subfolder per service.
Secrets & Configuration
Copy from .env.sample
and fill in your values.
Deploy
./task compose:up
List other tasks
./task -l
Templating
Filename pattern: *.template.*
Files matching the pattern are copied with the ".template." infix removed (e.g. forgejo.template.ini -> forgejo.ini).
Variables are replaced using shell substitution syntax (${VARIABLE_NAME_HERE}
) using the current environment and values from .env
.
Host Setup
A possible alpine based host setup is described in alpine-setup.