46 lines
1.0 KiB
46 lines
1.0 KiB
description: "Gitea Server"
|
|
maintainer: "Valentin Lab <valentin.lab@kalysto.org>"
|
|
## XXXvlab: docker uses the 'build' directory or the 'image:' option here.
|
|
docker-image: docker.0k.io/gitea:1.0.0
|
|
docker-compose:
|
|
ports:
|
|
- "5022:22"
|
|
# environment:
|
|
# - USER_UID=1000
|
|
# - USER_GID=1000
|
|
data-resources:
|
|
- /data
|
|
|
|
# default-options:
|
|
# config: |
|
|
|
|
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"
|