forgejo ayarları
This commit is contained in:
parent
a8c0ba9fae
commit
c70ba4fafc
3 changed files with 6 additions and 5 deletions
|
|
@ -91,7 +91,7 @@ DevOps platformu olarak, Forgejo, Gitea, OneDev, Harness gibi alternatifler değ
|
|||
- docker-compose-devops.yml dosyası kullanıldı (bunu git repo'dan manuel olarak kopyaladık)
|
||||
- Kullanıcılar eklendi, organizasyon oluşturuldu, BT takımı oluşturuldu ve organizasyona eklendi
|
||||
|
||||
#### Runner yapılandırması
|
||||
#### Runner yapılandırması
|
||||
|
||||
- DevOps, PlatformDev ve PlatformProd makinaları için aşağıdaki yapılandırma yapıldı:
|
||||
- https://forgejo.org/docs/latest/admin/runner-installation/#oci-image-installation
|
||||
|
|
@ -126,7 +126,7 @@ DevOps platformu olarak, Forgejo, Gitea, OneDev, Harness gibi alternatifler değ
|
|||
volumes:
|
||||
- ./daemon.json:/etc/docker/daemon.json
|
||||
```
|
||||
- app.ini dosyasında server kısmı şu şekilde olmalı
|
||||
- forgejo/data/gitea/conf/app.ini dosyasında server kısmı şu şekilde olmalı
|
||||
|
||||
```ini
|
||||
[server]
|
||||
|
|
@ -139,8 +139,8 @@ DevOps platformu olarak, Forgejo, Gitea, OneDev, Harness gibi alternatifler değ
|
|||
LFS_START_SERVER = true
|
||||
LFS_JWT_SECRET = CDy3ldC2cTbYHalO_dH68QJseoD7dGvH9x0Zx9aq2J0
|
||||
OFFLINE_MODE = true
|
||||
PROTOCOL=https
|
||||
HTTP_PORT = 443
|
||||
PROTOCOL=http
|
||||
HTTP_PORT = 3000
|
||||
ROOT_URL = https://devops.sozsoft.com/
|
||||
CERT_FILE = /etc/ssl/cert1.pem
|
||||
KEY_FILE = /etc/ssl/privkey1.pem
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ server {
|
|||
ssl_certificate_key /etc/ssl/sozsoft.com/privkey1.pem;
|
||||
|
||||
location / {
|
||||
proxy_pass http://forgejo;
|
||||
proxy_pass http://forgejo:3000;
|
||||
proxy_set_header Connection $http_connection;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Host $host;
|
||||
|
|
|
|||
|
|
@ -44,6 +44,7 @@ services:
|
|||
- ~/forgejo/data:/data
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- /etc/letsencrypt/archive/sozsoft.com:/etc/ssl:ro
|
||||
ports:
|
||||
- 222:22
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue