Initial commit

This commit is contained in:
2023-02-28 15:43:05 -05:00
commit e198a7f05f
3 changed files with 48 additions and 0 deletions

14
docker.gitea.service Normal file
View File

@@ -0,0 +1,14 @@
[Unit]
Description=gitea service with docker compose
PartOf=docker.service
After=docker.service
[Service]
Type=oneshot
RemainAfterExit=true
WorkingDirectory=/var/lib/gitea
ExecStart=/usr/bin/docker-compose up -d --remove-orphans
ExecStop=/usr/bin/docker-compose down
[Install]
WantedBy=multi-user.target