# vim: ft=systemd
[Unit]
Requires=gitea-postgres.service
After=gitea-postgres.service

[Container]
Image=docker.io/gitea/gitea:1.20.1
Pod=gitea.pod

Volume={{ gitea_data_dir }}:/data
Volume={{ gitea_repositories_dir }}:/data/git/repositories
Volume={{ gitea_lfs_dir }}:/data/git/lfs
; Volume=/etc/timezone:/etc/timezone:ro
Volume=/etc/localtime:/etc/localtime:ro

[Service]
Restart=always

[Install]
WantedBy=default.target
