fork 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.
 
 

47 lines
1.1 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: |
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"