any.software.gitea: started role
This commit is contained in:
parent
1fed7d327a
commit
09e19680e6
13 changed files with 305 additions and 0 deletions
|
|
@ -0,0 +1,18 @@
|
|||
# vim: ft=systemd
|
||||
[Container]
|
||||
Image=docker.io/postgres:14.8-alpine
|
||||
Pod=gitea.pod
|
||||
|
||||
Environment=POSTGRES_USER=gitea POSTGRES_PASSWORD=gitea POSTGRES_DB=gitea
|
||||
|
||||
HealthCmd=["pg_isready","-U","gitea"]
|
||||
HealthInterval=30s
|
||||
HealthRetries=3
|
||||
HealthStartPeriod=30s
|
||||
HealthTimeout=5s
|
||||
Notify=Healthy
|
||||
|
||||
Volume={{ postgres_data_dir }}:/var/lib/postgresql/data
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
Loading…
Add table
Add a link
Reference in a new issue