fix forjo

This commit is contained in:
peaklabs-dev
2024-10-08 15:15:47 +02:00
parent e16ccb2bcd
commit ec3916bb7e
6 changed files with 18 additions and 20 deletions

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.
# tags: version control, collaboration, code, hosting, lightweight, runner, postresql, actions, cicd, ci
# logo: svgs/forgejo.svg
# port: 3000
services:
forgejo:
image: codeberg.org/forgejo/forgejo:7
image: codeberg.org/forgejo/forgejo:8
environment:
- 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__ALLOW_LOCALNETWORKS=${FORGEJO__migrations__ALLOW_LOCALNETWORKS-false}
- USER_UID=1000
@@ -62,7 +63,6 @@ services:
image: docker:dind
hostname: docker
privileged: true
restart: 'unless-stopped'
healthcheck:
test: ["CMD", "pgrep", "dockerd"]
interval: 10s
@@ -124,7 +124,6 @@ services:
- forgejo-did-certs:/certs
- forgejo-timezone:/etc/timezone:ro
- forgejo-localtime:/etc/localtime:ro
restart: 'unless-stopped'
healthcheck:
test: ["CMD", "pgrep", "forgejo-runner"]
interval: 10s
@@ -133,4 +132,4 @@ services:
command: >-
bash -c '
while : ; do test -w .runner && forgejo-runner --config config.yml daemon ; sleep 1 ; done
'
'