service/services/gitea.spec

24 lines
641 B
Plaintext
Raw Normal View History

command: gitea -C . -w . -c gitea.cfg
2019-10-28 18:10:50 +01:00
consumes: postgresql, http?
requires-domain: true
2019-10-29 12:32:49 +01:00
ports: http
2019-10-24 15:54:15 +02:00
#%directory ${SERVICE_ROOT}/custom/conf
# name: working directory
# configuration: true
2019-10-24 15:54:15 +02:00
%file db-is-setup
name: postgresql database
2019-10-24 15:54:15 +02:00
# 'command' is run only if this directory doesn't exist
creation-command: pg_create_user.sh create_user_and_db && touch db-is-setup
deletion-command: pg_remove_user.sh bla bla bla && rm db-is-setup
export-command: pg_export_user.sh bla bla bla # FIXME: Where/how does it export?
# With syntaxic sugar.
%configuration gitea.cfg
#%database
# type: postgresql
# from-token: postgresql