gitea: add config
This commit is contained in:
parent
fe35e4baf1
commit
56faa4323b
17 changed files with 354 additions and 13 deletions
15
roles/gitea/files/gitea.service
Normal file
15
roles/gitea/files/gitea.service
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
[Unit]
|
||||
Description=Private, Fast, Reliable DevOps Platform
|
||||
After=docker.target
|
||||
Requires=docker.target
|
||||
|
||||
[Service]
|
||||
Type=exec
|
||||
User=gitea
|
||||
Group=gitea
|
||||
WorkingDirectory=/etc/gitea
|
||||
ExecStart=/usr/bin/docker compose up
|
||||
ExecStop=/usr/bin/docker compose down
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue