Merge "Set APP_NAME for gitea"
This commit is contained in:
		@@ -1,8 +1,12 @@
 | 
				
			|||||||
 | 
					APP_NAME = OpenDev: Free Software Needs Free Tools
 | 
				
			||||||
 | 
					RUN_MODE = prod
 | 
				
			||||||
 | 
					RUN_USER = git
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[server]
 | 
					[server]
 | 
				
			||||||
APP_DATA_PATH    = /data/gitea
 | 
					APP_DATA_PATH    = /data/gitea
 | 
				
			||||||
SSH_DOMAIN       = localhost
 | 
					SSH_DOMAIN       = localhost
 | 
				
			||||||
HTTP_PORT        = 3000
 | 
					HTTP_PORT        = 3000
 | 
				
			||||||
ROOT_URL         = http://38.108.68.96/
 | 
					ROOT_URL         = http://38.108.68.64/
 | 
				
			||||||
DISABLE_SSH      = false
 | 
					DISABLE_SSH      = false
 | 
				
			||||||
SSH_PORT         = 22
 | 
					SSH_PORT         = 22
 | 
				
			||||||
LFS_CONTENT_PATH = /data/git/lfs
 | 
					LFS_CONTENT_PATH = /data/git/lfs
 | 
				
			||||||
@@ -69,6 +73,6 @@ ENABLED = true
 | 
				
			|||||||
; List of file extensions that should be rendered by an external command
 | 
					; List of file extensions that should be rendered by an external command
 | 
				
			||||||
FILE_EXTENSIONS = .rst
 | 
					FILE_EXTENSIONS = .rst
 | 
				
			||||||
; External command to render all matching extensions
 | 
					; External command to render all matching extensions
 | 
				
			||||||
RENDER_COMMAND = "/usr/bin/pandoc"
 | 
					RENDER_COMMAND = "/usr/bin/pandoc -f rst"
 | 
				
			||||||
; Input is not a standard input but a file
 | 
					; Input is not a standard input but a file
 | 
				
			||||||
IS_INPUT_FILE = false
 | 
					IS_INPUT_FILE = false
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -6,7 +6,8 @@ metadata:
 | 
				
			|||||||
  labels:
 | 
					  labels:
 | 
				
			||||||
    app: gitea
 | 
					    app: gitea
 | 
				
			||||||
spec:
 | 
					spec:
 | 
				
			||||||
  replicas: 1
 | 
					  revisionHistoryLimit: 1
 | 
				
			||||||
 | 
					  replicas: 4
 | 
				
			||||||
  selector:
 | 
					  selector:
 | 
				
			||||||
    matchLabels:
 | 
					    matchLabels:
 | 
				
			||||||
      app: gitea
 | 
					      app: gitea
 | 
				
			||||||
@@ -28,6 +29,9 @@ spec:
 | 
				
			|||||||
      containers:
 | 
					      containers:
 | 
				
			||||||
        - name: gitea
 | 
					        - name: gitea
 | 
				
			||||||
          image: opendevorg/gitea
 | 
					          image: opendevorg/gitea
 | 
				
			||||||
 | 
					          env:
 | 
				
			||||||
 | 
					            - name: deployment_id
 | 
				
			||||||
 | 
					              value: '1'  # Increment to trigger a deployment.
 | 
				
			||||||
          ports:
 | 
					          ports:
 | 
				
			||||||
            - containerPort: 3000
 | 
					            - containerPort: 3000
 | 
				
			||||||
          volumeMounts:
 | 
					          volumeMounts:
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user