Set APP_NAME for gitea
Change the app name from gitea to opendev. Also, add a tagline because why not? And add two missing settings. And fix the pandoc command for RST rendering. And fix the gitea URL. Keep one copy of old replicasets. Keep 4 replicas. Add a dummp env variable to trigger deployments. Change-Id: I0182d18a838d444d5853238fa2e48b4511383a94
This commit is contained in:
parent
24b0c1b9d2
commit
35851e2053
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user