This does not yet get autostarted, but this should already allow you to manage your ssh keys in forgejo, and they should work...
26 lines
691 B
YAML
26 lines
691 B
YAML
mainunit: forgejo.service
|
|
mainunitfile: forgejo.service.j2
|
|
ports:
|
|
- web
|
|
templatefiles:
|
|
- src: compose.yml.j2
|
|
dest: ~/compose.yml
|
|
- src: forgejo-watch-sshkeys.j2
|
|
dest: ~/forgejo-watch-sshkeys
|
|
mode: "0755"
|
|
- src: forgejo-watch-sshkeys.service.j2
|
|
dest: ~/.config/systemd/user/forgejo-watch-sshkeys.service
|
|
exports:
|
|
web:
|
|
sites:
|
|
- proxyaddress: "http://127.0.0.1:{{ ports.web }}"
|
|
publicname: "{{ config.publicurl | default(name, true) }}"
|
|
configdefinition:
|
|
description: Extra forgejo
|
|
type: object
|
|
additionalProperties: false
|
|
properties:
|
|
publicurl:
|
|
type: string
|
|
description: The domainname published to nginx
|
|
default: ""
|