command: gitea -C . -w . -c gitea.cfg consumes: postgresql, http? requires-domain: true ports: http #%directory ${SERVICE_ROOT}/custom/conf # name: working directory # configuration: true %file db-is-setup name: postgresql database # '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