fix forjo with mariadb

This commit is contained in:
peaklabs-dev
2024-10-08 15:01:23 +02:00
parent 0cd2ca6e79
commit e16ccb2bcd

View File

@@ -2,13 +2,14 @@
# slogan: Forgejo is a self-hosted lightweight software forge. Easy to install and low maintenance, it just does the job. # slogan: Forgejo is a self-hosted lightweight software forge. Easy to install and low maintenance, it just does the job.
# tags: version control, collaboration, code, hosting, lightweight, mariadb # tags: version control, collaboration, code, hosting, lightweight, mariadb
# logo: svgs/forgejo.svg # logo: svgs/forgejo.svg
# port: 3000
services: services:
forgejo: forgejo:
image: codeberg.org/forgejo/forgejo:7 image: codeberg.org/forgejo/forgejo:8
environment: environment:
- SERVICE_FQDN_FORGEJO_3000 - SERVICE_FQDN_FORGEJO_3000
- FORGEJO__server__ROOT_URL=${SERVICE_FQDN_FORGEJO} - FORGEJO__server__ROOT_URL=${SERVICE_FQDN_FORGEJO_3000}
- FORGEJO__migrations__ALLOWED_DOMAINS=${FORGEJO__migrations__ALLOWED_DOMAINS} - FORGEJO__migrations__ALLOWED_DOMAINS=${FORGEJO__migrations__ALLOWED_DOMAINS}
- FORGEJO__migrations__ALLOW_LOCALNETWORKS=${FORGEJO__migrations__ALLOW_LOCALNETWORKS-false} - FORGEJO__migrations__ALLOW_LOCALNETWORKS=${FORGEJO__migrations__ALLOW_LOCALNETWORKS-false}
- USER_UID=1000 - USER_UID=1000