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. # 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, mysql # tags: version control, collaboration, code, hosting, lightweight, mysql
# 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

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, postgresql # tags: version control, collaboration, code, hosting, lightweight, postgresql
# 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

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, runner, mariadb, actions, cicd, ci # tags: version control, collaboration, code, hosting, lightweight, runner, mariadb, actions, cicd, ci
# 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
@@ -63,7 +64,6 @@ services:
image: docker:dind image: docker:dind
hostname: docker hostname: docker
privileged: true privileged: true
restart: 'unless-stopped'
healthcheck: healthcheck:
test: ["CMD", "pgrep", "dockerd"] test: ["CMD", "pgrep", "dockerd"]
interval: 10s interval: 10s
@@ -125,7 +125,6 @@ services:
- forgejo-did-certs:/certs - forgejo-did-certs:/certs
- forgejo-timezone:/etc/timezone:ro - forgejo-timezone:/etc/timezone:ro
- forgejo-localtime:/etc/localtime:ro - forgejo-localtime:/etc/localtime:ro
restart: 'unless-stopped'
healthcheck: healthcheck:
test: ["CMD", "pgrep", "forgejo-runner"] test: ["CMD", "pgrep", "forgejo-runner"]
interval: 10s interval: 10s

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, runner, mysql, actions, cicd, ci # tags: version control, collaboration, code, hosting, lightweight, runner, mysql, actions, cicd, ci
# 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
@@ -63,7 +64,6 @@ services:
image: docker:dind image: docker:dind
hostname: docker hostname: docker
privileged: true privileged: true
restart: 'unless-stopped'
healthcheck: healthcheck:
test: ["CMD", "pgrep", "dockerd"] test: ["CMD", "pgrep", "dockerd"]
interval: 10s interval: 10s
@@ -125,7 +125,6 @@ services:
- forgejo-did-certs:/certs - forgejo-did-certs:/certs
- forgejo-timezone:/etc/timezone:ro - forgejo-timezone:/etc/timezone:ro
- forgejo-localtime:/etc/localtime:ro - forgejo-localtime:/etc/localtime:ro
restart: 'unless-stopped'
healthcheck: healthcheck:
test: ["CMD", "pgrep", "forgejo-runner"] test: ["CMD", "pgrep", "forgejo-runner"]
interval: 10s interval: 10s

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, runner, postresql, actions, cicd, ci # tags: version control, collaboration, code, hosting, lightweight, runner, postresql, actions, cicd, ci
# 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
@@ -62,7 +63,6 @@ services:
image: docker:dind image: docker:dind
hostname: docker hostname: docker
privileged: true privileged: true
restart: 'unless-stopped'
healthcheck: healthcheck:
test: ["CMD", "pgrep", "dockerd"] test: ["CMD", "pgrep", "dockerd"]
interval: 10s interval: 10s
@@ -124,7 +124,6 @@ services:
- forgejo-did-certs:/certs - forgejo-did-certs:/certs
- forgejo-timezone:/etc/timezone:ro - forgejo-timezone:/etc/timezone:ro
- forgejo-localtime:/etc/localtime:ro - forgejo-localtime:/etc/localtime:ro
restart: 'unless-stopped'
healthcheck: healthcheck:
test: ["CMD", "pgrep", "forgejo-runner"] test: ["CMD", "pgrep", "forgejo-runner"]
interval: 10s interval: 10s

View File

@@ -41,7 +41,6 @@ services:
image: docker:dind image: docker:dind
hostname: docker hostname: docker
privileged: true privileged: true
restart: 'unless-stopped'
healthcheck: healthcheck:
test: ["CMD", "pgrep", "dockerd"] test: ["CMD", "pgrep", "dockerd"]
interval: 10s interval: 10s