Aktualisierte gitea Daten.

This commit is contained in:
Olli Graf
2026-01-19 09:26:32 +01:00
parent 9ece2ad290
commit d5a273fe28
4 changed files with 18 additions and 5 deletions

View File

@@ -1,12 +1,11 @@
version: "3"
services:
pihole:
gitea:
container_name: gitea
image: kunde21/gitea-arm:latest
image: gitea/gitea:latest
ports:
- "3000:3000/tcp"
- "23:22/tcp"
- '3001:3000/tcp'
# Volumes store your data between container upgrades
volumes:
- '/opt/gitea:/data'

8
gitea/update-container Executable file
View File

@@ -0,0 +1,8 @@
#! /usr/bin/bash
echo "pulling image ${1}"
docker pull ${1}
echo "removing container ${2}"
docker rm -f ${2}

6
gitea/update.sh Executable file
View File

@@ -0,0 +1,6 @@
#! /usr/bin/bash
export COMPOSE_IGNORE_ORPHANS=True
./update-container gitea/gitea:latest gitea
echo "creating new container"
docker-compose -f ./docker-compose.yml up -d