forked from 0k/0k-charms
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
1.5 KiB
60 lines
1.5 KiB
description: "Gitea Server"
|
|
maintainer: "Valentin Lab <valentin.lab@kalysto.org>"
|
|
## XXXvlab: docker uses the 'build' directory or the 'image:' option here.
|
|
## based on gitea/gitea:1.14.2
|
|
docker-image: docker.0k.io/gitea:1.14.2
|
|
docker-compose:
|
|
ports:
|
|
- "5022:22"
|
|
# environment:
|
|
# - USER_UID=1000
|
|
# - USER_GID=1000
|
|
data-resources:
|
|
- /data
|
|
|
|
default-options:
|
|
config:
|
|
#app-name: "Gitea: Git with a cup of tea"
|
|
service:
|
|
disable-registration: true
|
|
#require-signin-view: false
|
|
#register-email-confirm: false
|
|
#enable-notify-mail: false
|
|
#allow-only-external-registration: false
|
|
#enable-captcha: false
|
|
#default-keep-email-private: false
|
|
#default-allow-create-organization: true
|
|
#default-enable-timetracking: true
|
|
#no-reply-address: noreply.example.org
|
|
|
|
|
|
provides:
|
|
vcs-manager:
|
|
|
|
uses:
|
|
log-rotate:
|
|
constraint: recommended
|
|
auto: pair
|
|
solves:
|
|
disk-leak: "/data"
|
|
postgres-database:
|
|
#constraint: required | recommended | optional
|
|
#auto: pair | summon | none ## default: pair
|
|
constraint: optional
|
|
auto: pair
|
|
solves:
|
|
database: "main storage"
|
|
web-proxy:
|
|
#constraint: required | recommended | optional
|
|
#auto: pair | summon | none ## default: pair
|
|
constraint: recommended
|
|
auto: pair
|
|
solves:
|
|
proxy: "Public access"
|
|
default-options:
|
|
target: !var-expand ${MASTER_BASE_SERVICE_NAME}:3000
|
|
backup:
|
|
constraint: recommended
|
|
auto: pair
|
|
solves:
|
|
backup: "Automatic regular backup"
|