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:
Monty Taylor 2019-01-10 16:46:46 +00:00
parent 24b0c1b9d2
commit 35851e2053
2 changed files with 11 additions and 3 deletions

View File

@ -1,8 +1,12 @@
APP_NAME = OpenDev: Free Software Needs Free Tools
RUN_MODE = prod
RUN_USER = git
[server]
APP_DATA_PATH = /data/gitea
SSH_DOMAIN = localhost
HTTP_PORT = 3000
ROOT_URL = http://38.108.68.96/
ROOT_URL = http://38.108.68.64/
DISABLE_SSH = false
SSH_PORT = 22
LFS_CONTENT_PATH = /data/git/lfs
@ -69,6 +73,6 @@ ENABLED = true
; List of file extensions that should be rendered by an external command
FILE_EXTENSIONS = .rst
; 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
IS_INPUT_FILE = false

View File

@ -6,7 +6,8 @@ metadata:
labels:
app: gitea
spec:
replicas: 1
revisionHistoryLimit: 1
replicas: 4
selector:
matchLabels:
app: gitea
@ -28,6 +29,9 @@ spec:
containers:
- name: gitea
image: opendevorg/gitea
env:
- name: deployment_id
value: '1' # Increment to trigger a deployment.
ports:
- containerPort: 3000
volumeMounts: