Aktualisierte gitea Daten.
This commit is contained in:
@@ -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
8
gitea/update-container
Executable 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
6
gitea/update.sh
Executable 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
|
||||
Reference in New Issue
Block a user