container-server/services/forgejo/docker-compose.yml
Renovate Bot 50c4e7339c chore(deps): update codeberg.org/forgejo/forgejo docker tag to v7 (#38)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [codeberg.org/forgejo/forgejo](https://forgejo.org) ([source](https://codeberg.org/forgejo/forgejo)) | major | `1.21` -> `7.0` |

---

### Release Notes

<details>
<summary>forgejo/forgejo (codeberg.org/forgejo/forgejo)</summary>

### [`v7.0`](https://codeberg.org/forgejo/forgejo/blob/HEAD/RELEASE-NOTES.md#701)

This is a bug fix release. See the documentation for more information on the [upgrade procedure](https://forgejo.org/docs/v7.0/admin/upgrade/).

In addition to the following notable bug fixes, you can browse the [full list of commits](https://codeberg.org/forgejo/forgejo/compare/v7.0.0...v7.0.1) included in this release.

-   **Bug fixes:**
    -   The regression in the [`fogejo admin user create`](https://forgejo.org/docs/v7.0/admin/command-line/#admin-user-create) CLI command [is fixed](https://codeberg.org/forgejo/forgejo/issues/3399) and it is backward compatible.

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMTMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjMxMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Reviewed-on: carsten/container-server#38
Co-authored-by: Renovate Bot <renovate@git.csprung.de>
Co-committed-by: Renovate Bot <renovate@git.csprung.de>
2024-04-25 17:37:11 +02:00

56 lines
1.5 KiB
YAML

version: '3.7'
# https://codeberg.org/forgejo/-/packages/container/forgejo/versions
# https://docs.gitea.io/en-us/install-with-docker/
# https://docs.gitea.io/en-us/customizing-gitea/
# https://docs.gitea.io/en-us/config-cheat-sheet/
# https://goauthentik.io/integrations/services/gitea/
# set FORGEJO_SETUP_LOCK = false for inital setup in .env
# create admin account: during setup at bottom of page
networks:
forgejo:
services:
forgejo:
image: codeberg.org/forgejo/forgejo:7.0
container_name: forgejo
restart: "${RESTART:-no}"
hostname: git
domainname: ${BASE_DOMAIN}
environment:
- USER_UID=1000
- USER_GID=1000
- FORGEJO__database__DB_TYPE=postgres
- FORGEJO__database__HOST=pg-forgejo
- FORGEJO__database__NAME=forgejo
- FORGEJO__database__USER=forgejo
- FORGEJO__database__PASSWD=${FORGEJO_PG_PWD:-forgejo}
ports:
- '${FORGEJO_SSH_PORT}:23'
volumes:
- ${BASE_DIR:-/srv}/forgejo/data:/data
- ./forgejo/app.ini:/data/gitea/conf/app.ini:ro
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
depends_on:
- pg-forgejo
networks:
- proxy
- mail
- forgejo
pg-forgejo:
image: postgres:16-alpine
container_name: pg-forgejo
restart: "${RESTART:-no}"
environment:
- POSTGRES_DB=forgejo
- POSTGRES_USER=forgejo
- POSTGRES_PASSWORD=${FORGEJO_PG_PWD:-forgejo}
volumes:
- ${BASE_DIR:-/srv}/forgejo/psql:/var/lib/postgresql/data
networks:
- forgejo