Add analytics to forgejo
This commit is contained in:
parent
ea037209f6
commit
22af530918
4 changed files with 35 additions and 3 deletions
|
@ -3,7 +3,9 @@ forgejo_svc:
|
|||
domain: git.serguzim.me
|
||||
name: forgejo
|
||||
port: 3000
|
||||
caddy_extra: header /attachments/* Access-Control-Allow-Origin *
|
||||
caddy_extra: |
|
||||
import analytics
|
||||
header /attachments/* Access-Control-Allow-Origin *
|
||||
db:
|
||||
host: "{{ postgres.host }}"
|
||||
port: "{{ postgres.port }}"
|
||||
|
@ -82,6 +84,7 @@ forgejo_compose:
|
|||
image: codeberg.org/forgejo/forgejo:1.21
|
||||
volumes:
|
||||
- data:/data
|
||||
- ./templates:/data/gitea/templates
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
file:
|
||||
|
|
Reference in a new issue