No description
Find a file
Renovate Bot 3a203af216 chore(deps): update codeberg.org/forgejo/forgejo docker tag to v9 (#83)
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>
2024-10-18 20:17:51 +02:00
backup backup: add cleanup step 2024-06-13 15:22:46 +02:00
services chore(deps): update codeberg.org/forgejo/forgejo docker tag to v9 (#83) 2024-10-18 20:17:51 +02:00
setup feat(setup): Add docker logging config (#75) 2024-09-30 19:45:22 +02:00
tasks feat(tasks): Add headlogs task 2024-09-30 17:58:20 +02:00
.editorconfig proxy: Finish migration to caddy v2 2022-06-19 14:56:49 +02:00
.env.sample feat(service): Add cartracker LubeLogger (#77) 2024-09-30 19:33:36 +02:00
.gitattributes proxy: Finish migration to caddy v2 2022-06-19 14:56:49 +02:00
.gitignore setup borg backup (#4) 2023-10-18 19:54:47 +02:00
LICENSE chore(legal): Add licenses 2024-07-07 17:14:30 +02:00
README.md chore: Fix typo 2024-09-03 23:27:34 +02:00
renovate.json Add renovate groups 2024-03-21 22:22:18 +01:00
task mail-server (#2) 2022-12-10 17:16:50 +00:00
Taskfile.yml Working login in forgejo with authentik 2023-02-18 00:07:06 +01:00
THIRD_PARTY_LICENSES chore(legal): Add licenses 2024-07-07 17:14:30 +02:00

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 definitions
    • common.yml: Base tasks used by other tasks
    • compose.yml: Container related tasks e.g. starting, updating, or reading logs
    • hot.yml: Tasks related to host system maintenance
    • services.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.