Fixes environment variables
This commit is contained in:
		| @@ -7,13 +7,15 @@ services: | |||||||
|   forgejo: |   forgejo: | ||||||
|     image: codeberg.org/forgejo/forgejo:7 |     image: codeberg.org/forgejo/forgejo:7 | ||||||
|     environment: |     environment: | ||||||
|  |       - SERVICE_FQDN_FORGEJO_3000 | ||||||
|  |       - FORGEJO__server__ROOT_URL=${SERVICE_FQDN_FORGEJO} | ||||||
|       - USER_UID=1000 |       - USER_UID=1000 | ||||||
|       - USER_GID=1000 |       - USER_GID=1000 | ||||||
|       - DB_TYPE=mysql |       - FORGEJO__database__DB_TYPE=mysql | ||||||
|       - HOST=mariadb |       - FORGEJO__database__HOST=mariadb | ||||||
|       - NAME=${MYSQL_DATABASE-forgejo} |       - FORGEJO__database__NAME=${MYSQL_DATABASE-forgejo} | ||||||
|       - USER=$SERVICE_USER_MYSQL |       - FORGEJO__database__USER=$SERVICE_USER_MYSQL | ||||||
|       - PASSWD=$SERVICE_PASSWORD_MYSQL |       - FORGEJO__database__PASSWD=$SERVICE_PASSWORD_MYSQL | ||||||
|     volumes: |     volumes: | ||||||
|       - forgejo-data:/data |       - forgejo-data:/data | ||||||
|       - forgejo-timezone:/etc/timezone:ro |       - forgejo-timezone:/etc/timezone:ro | ||||||
|   | |||||||
| @@ -8,13 +8,14 @@ services: | |||||||
|     image: codeberg.org/forgejo/forgejo:7 |     image: codeberg.org/forgejo/forgejo:7 | ||||||
|     environment: |     environment: | ||||||
|       - SERVICE_FQDN_FORGEJO_3000 |       - SERVICE_FQDN_FORGEJO_3000 | ||||||
|  |       - FORGEJO__server__ROOT_URL=${SERVICE_FQDN_FORGEJO} | ||||||
|       - USER_UID=1000 |       - USER_UID=1000 | ||||||
|       - USER_GID=1000 |       - USER_GID=1000 | ||||||
|       - DB_TYPE=mysql |       - FORGEJO__database__DB_TYPE=mysql | ||||||
|       - HOST=mysql |       - FORGEJO__database__HOST=mysql | ||||||
|       - NAME=${MYSQL_DATABASE-forgejo} |       - FORGEJO__database__NAME=${MYSQL_DATABASE-forgejo} | ||||||
|       - USER=$SERVICE_USER_MYSQL |       - FORGEJO__database__USER=$SERVICE_USER_MYSQL | ||||||
|       - PASSWD=$SERVICE_PASSWORD_MYSQL |       - FORGEJO__database__PASSWD=$SERVICE_PASSWORD_MYSQL | ||||||
|     volumes: |     volumes: | ||||||
|       - forgejo-data:/data |       - forgejo-data:/data | ||||||
|       - forgejo-timezone:/etc/timezone:ro |       - forgejo-timezone:/etc/timezone:ro | ||||||
|   | |||||||
| @@ -7,13 +7,15 @@ services: | |||||||
|   forgejo: |   forgejo: | ||||||
|     image: codeberg.org/forgejo/forgejo:7 |     image: codeberg.org/forgejo/forgejo:7 | ||||||
|     environment: |     environment: | ||||||
|  |       - SERVICE_FQDN_FORGEJO_3000 | ||||||
|  |       - FORGEJO__server__ROOT_URL=${SERVICE_FQDN_FORGEJO} | ||||||
|       - USER_UID=1000 |       - USER_UID=1000 | ||||||
|       - USER_GID=1000 |       - USER_GID=1000 | ||||||
|       - DB_TYPE=postgres |       - FORGEJO__database__DB_TYPE=postgres | ||||||
|       - HOST=postgresql |       - FORGEJO__database__HOST=postgresql | ||||||
|       - NAME=${POSTGRESQL_DATABASE-forgejo} |       - FORGEJO__database__NAME=${POSTGRESQL_DATABASE-forgejo} | ||||||
|       - USER=$SERVICE_USER_POSTGRESQL |       - FORGEJO__database__USER=$SERVICE_USER_POSTGRESQL | ||||||
|       - PASSWD=$SERVICE_PASSWORD_POSTGRESQL |       - FORGEJO__database__PASSWD=$SERVICE_PASSWORD_POSTGRESQL | ||||||
|     volumes: |     volumes: | ||||||
|       - forgejo-data:/data |       - forgejo-data:/data | ||||||
|       - forgejo-timezone:/etc/timezone:ro |       - forgejo-timezone:/etc/timezone:ro | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
| # documentation: https://forgejo.org/docs | # documentation: https://forgejo.org/docs | ||||||
| # 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, actions | # tags: version control, collaboration, code, hosting, lightweight, runner, mariadb, actions, cicd, ci | ||||||
| # logo: svgs/forgejo.svg | # logo: svgs/forgejo.svg | ||||||
|  |  | ||||||
| services: | services: | ||||||
| @@ -8,14 +8,15 @@ services: | |||||||
|     image: codeberg.org/forgejo/forgejo:7 |     image: codeberg.org/forgejo/forgejo:7 | ||||||
|     environment: |     environment: | ||||||
|       - SERVICE_FQDN_FORGEJO_3000 |       - SERVICE_FQDN_FORGEJO_3000 | ||||||
|       - RUNNER_SHARED_SECRET=${RUNNER_SHARED_SECRET} |       - FORGEJO__server__ROOT_URL=${SERVICE_FQDN_FORGEJO} | ||||||
|       - USER_UID=1000 |       - USER_UID=1000 | ||||||
|       - USER_GID=1000 |       - USER_GID=1000 | ||||||
|       - DB_TYPE=mysql |       - FORGEJO__database__DB_TYPE=mysql | ||||||
|       - HOST=mariadb |       - FORGEJO__database__HOST=mariadb | ||||||
|       - NAME=${MYSQL_DATABASE-forgejo} |       - FORGEJO__database__NAME=${MYSQL_DATABASE-forgejo} | ||||||
|       - USER=$SERVICE_USER_MYSQL |       - FORGEJO__database__USER=$SERVICE_USER_MYSQL | ||||||
|       - PASSWD=$SERVICE_PASSWORD_MYSQL |       - FORGEJO__database__PASSWD=$SERVICE_PASSWORD_MYSQL | ||||||
|  |       - RUNNER_SHARED_SECRET=${RUNNER_SHARED_SECRET-0000000000000000000000000000000000000000} | ||||||
|       - FORGEJO__repository__ENABLE_PUSH_CREATE_USER=true |       - FORGEJO__repository__ENABLE_PUSH_CREATE_USER=true | ||||||
|       - FORGEJO__repository__DEFAULT_PUSH_CREATE_PRIVATE=false |       - FORGEJO__repository__DEFAULT_PUSH_CREATE_PRIVATE=false | ||||||
|       - FORGEJO__repository__DEFAULT_REPO_UNITS=repo.code,repo.actions |       - FORGEJO__repository__DEFAULT_REPO_UNITS=repo.code,repo.actions | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
| # documentation: https://forgejo.org/docs | # documentation: https://forgejo.org/docs | ||||||
| # 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, actions | # tags: version control, collaboration, code, hosting, lightweight, runner, mysql, actions, cicd, ci | ||||||
| # logo: svgs/forgejo.svg | # logo: svgs/forgejo.svg | ||||||
|  |  | ||||||
| services: | services: | ||||||
| @@ -8,14 +8,15 @@ services: | |||||||
|     image: codeberg.org/forgejo/forgejo:7 |     image: codeberg.org/forgejo/forgejo:7 | ||||||
|     environment: |     environment: | ||||||
|       - SERVICE_FQDN_FORGEJO_3000 |       - SERVICE_FQDN_FORGEJO_3000 | ||||||
|       - RUNNER_SHARED_SECRET=${RUNNER_SHARED_SECRET} |       - FORGEJO__server__ROOT_URL=${SERVICE_FQDN_FORGEJO} | ||||||
|       - USER_UID=1000 |       - USER_UID=1000 | ||||||
|       - USER_GID=1000 |       - USER_GID=1000 | ||||||
|       - DB_TYPE=mysql |       - FORGEJO__database__DB_TYPE=mysql | ||||||
|       - HOST=mysql |       - FORGEJO__database__HOST=mysql | ||||||
|       - NAME=${MYSQL_DATABASE-forgejo} |       - FORGEJO__database__NAME=${MYSQL_DATABASE-forgejo} | ||||||
|       - USER=$SERVICE_USER_MYSQL |       - FORGEJO__database__USER=$SERVICE_USER_MYSQL | ||||||
|       - PASSWD=$SERVICE_PASSWORD_MYSQL |       - FORGEJO__database__PASSWD=$SERVICE_PASSWORD_MYSQL | ||||||
|  |       - RUNNER_SHARED_SECRET=${RUNNER_SHARED_SECRET-0000000000000000000000000000000000000000} | ||||||
|       - FORGEJO__repository__ENABLE_PUSH_CREATE_USER=true |       - FORGEJO__repository__ENABLE_PUSH_CREATE_USER=true | ||||||
|       - FORGEJO__repository__DEFAULT_PUSH_CREATE_PRIVATE=false |       - FORGEJO__repository__DEFAULT_PUSH_CREATE_PRIVATE=false | ||||||
|       - FORGEJO__repository__DEFAULT_REPO_UNITS=repo.code,repo.actions |       - FORGEJO__repository__DEFAULT_REPO_UNITS=repo.code,repo.actions | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
| # documentation: https://forgejo.org/docs | # documentation: https://forgejo.org/docs | ||||||
| # 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, actions | # tags: version control, collaboration, code, hosting, lightweight, runner, postresql, actions, cicd, ci | ||||||
| # logo: svgs/forgejo.svg | # logo: svgs/forgejo.svg | ||||||
|  |  | ||||||
| services: | services: | ||||||
| @@ -8,14 +8,15 @@ services: | |||||||
|     image: codeberg.org/forgejo/forgejo:7 |     image: codeberg.org/forgejo/forgejo:7 | ||||||
|     environment: |     environment: | ||||||
|       - SERVICE_FQDN_FORGEJO_3000 |       - SERVICE_FQDN_FORGEJO_3000 | ||||||
|       - RUNNER_SHARED_SECRET=${RUNNER_SHARED_SECRET} |       - FORGEJO__server__ROOT_URL=${SERVICE_FQDN_FORGEJO} | ||||||
|       - USER_UID=1000 |       - USER_UID=1000 | ||||||
|       - USER_GID=1000 |       - USER_GID=1000 | ||||||
|       - DB_TYPE=postgres |       - FORGEJO__database__DB_TYPE=postgres | ||||||
|       - HOST=postgresql |       - FORGEJO__database__HOST=postgresql | ||||||
|       - NAME=${POSTGRESQL_DATABASE-forgejo} |       - FORGEJO__database__NAME=${POSTGRESQL_DATABASE-forgejo} | ||||||
|       - USER=$SERVICE_USER_POSTGRESQL |       - FORGEJO__database__USER=$SERVICE_USER_POSTGRESQL | ||||||
|       - PASSWD=$SERVICE_PASSWORD_POSTGRESQL |       - FORGEJO__database__PASSWD=$SERVICE_PASSWORD_POSTGRESQL | ||||||
|  |       - RUNNER_SHARED_SECRET=${RUNNER_SHARED_SECRET-0000000000000000000000000000000000000000} | ||||||
|       - FORGEJO__repository__ENABLE_PUSH_CREATE_USER=true |       - FORGEJO__repository__ENABLE_PUSH_CREATE_USER=true | ||||||
|       - FORGEJO__repository__DEFAULT_PUSH_CREATE_PRIVATE=false |       - FORGEJO__repository__DEFAULT_PUSH_CREATE_PRIVATE=false | ||||||
|       - FORGEJO__repository__DEFAULT_REPO_UNITS=repo.code,repo.actions |       - FORGEJO__repository__DEFAULT_REPO_UNITS=repo.code,repo.actions | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
| # documentation: https://forgejo.org/docs | # documentation: https://forgejo.org/docs | ||||||
| # 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, actions | # tags: version control, collaboration, code, hosting, lightweight, runner, actions, cicd, ci | ||||||
| # logo: svgs/forgejo.svg | # logo: svgs/forgejo.svg | ||||||
|  |  | ||||||
| services: | services: | ||||||
| @@ -8,9 +8,10 @@ services: | |||||||
|     image: codeberg.org/forgejo/forgejo:7 |     image: codeberg.org/forgejo/forgejo:7 | ||||||
|     environment: |     environment: | ||||||
|       - SERVICE_FQDN_FORGEJO_3000 |       - SERVICE_FQDN_FORGEJO_3000 | ||||||
|       - RUNNER_SHARED_SECRET=${RUNNER_SHARED_SECRET} |       - FORGEJO__server__ROOT_URL=${SERVICE_FQDN_FORGEJO} | ||||||
|       - USER_UID=1000 |       - USER_UID=1000 | ||||||
|       - USER_GID=1000 |       - USER_GID=1000 | ||||||
|  |       - RUNNER_SHARED_SECRET=${RUNNER_SHARED_SECRET-0000000000000000000000000000000000000000} | ||||||
|       - FORGEJO__repository__ENABLE_PUSH_CREATE_USER=true |       - FORGEJO__repository__ENABLE_PUSH_CREATE_USER=true | ||||||
|       - FORGEJO__repository__DEFAULT_PUSH_CREATE_PRIVATE=false |       - FORGEJO__repository__DEFAULT_PUSH_CREATE_PRIVATE=false | ||||||
|       - FORGEJO__repository__DEFAULT_REPO_UNITS=repo.code,repo.actions |       - FORGEJO__repository__DEFAULT_REPO_UNITS=repo.code,repo.actions | ||||||
|   | |||||||
| @@ -7,6 +7,8 @@ services: | |||||||
|   forgejo: |   forgejo: | ||||||
|     image: codeberg.org/forgejo/forgejo:7 |     image: codeberg.org/forgejo/forgejo:7 | ||||||
|     environment: |     environment: | ||||||
|  |       - SERVICE_FQDN_FORGEJO_3000 | ||||||
|  |       - FORGEJO__server__ROOT_URL=${SERVICE_FQDN_FORGEJO} | ||||||
|       - USER_UID=1000 |       - USER_UID=1000 | ||||||
|       - USER_GID=1000 |       - USER_GID=1000 | ||||||
|     ports: |     ports: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Italo
					Italo