resetted volumes

This commit is contained in:
kolaente 2017-11-26 17:51:02 +01:00
parent b80d13b46f
commit c265f8c0a6
No known key found for this signature in database
GPG Key ID: F40E70337AB24C9B
2 changed files with 2 additions and 23 deletions

View File

@ -3,12 +3,7 @@ services:
gitea: gitea:
image: gitea/gitea:1.3.0-rc1 image: gitea/gitea:1.3.0-rc1
volumes: volumes:
- gitea-data-git:/data/git - gitea-data:/data
- gitea-data-ssh:/data/ssh
- gitea-data-conf:/data/gitea/conf
- gitea-data-lfs:/data/gitea/lfs
- gitea-data-log:/data/gitea/log
- gitea-data-sessions:/data/gitea/sessions
{{- if ne .Values.db_link ""}} {{- if ne .Values.db_link ""}}
external_links: external_links:
@ -30,17 +25,7 @@ services:
- ${http_port}:${http_port}/tcp - ${http_port}:${http_port}/tcp
- ${ssh_port}:${ssh_port}/tcp - ${ssh_port}:${ssh_port}/tcp
volumes: volumes:
gitea-data-git: gitea-data:
driver: ${volume_driver}
gitea-data-ssh:
driver: ${volume_driver}
gitea-data-conf:
driver: ${volume_driver}
gitea-data-lfs:
driver: ${volume_driver}
gitea-data-log:
driver: ${volume_driver}
gitea-data-sessions:
driver: ${volume_driver} driver: ${volume_driver}
{{- if eq .Values.db_link ""}} {{- if eq .Values.db_link ""}}
gitea-db: gitea-db:

View File

@ -19,12 +19,6 @@ catalog:
required: true required: true
default: "2222" default: "2222"
type: "int" type: "int"
# - variable: data_path
# description: "Path where to store the data of the Gitea-instance."
# label: "Data path"
# required: true
# default: "/var/lib/gitea"
# type: "string"
- variable: "volume_driver" - variable: "volume_driver"
description: "Volume driver to associate with this service." description: "Volume driver to associate with this service."
label: "Volume Driver" label: "Volume Driver"