2 Commits
1.03 ... 1.05

Author SHA1 Message Date
Olli Graf
d5a273fe28 Aktualisierte gitea Daten. 2026-01-19 09:26:32 +01:00
9ece2ad290 nextcloud-cron korrigiert. 2025-08-22 14:33:00 +02:00
5 changed files with 24 additions and 9 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

View File

@@ -1,4 +1,4 @@
# $HOME/docker/compose-files/grafana/.env
# $HOME/docker/nextcloud/.env
MSQL_PASSWORD=<passwort>
MYSQL_DATABASE=nextcloud
MYSQL_USER=nextcloud

View File

@@ -24,10 +24,12 @@ services:
image: nextcloud:latest
container_name: nextcloud-cron
restart: always
entrypoint: ["/bin/sh", "-c"]
command: >
echo "*/5 * * * * www-data pgrep -f 'cron.php' > /dev/null || php -f /var/www/html/cron.php"
> /etc/crontabs/root && crond -f -l 2
entrypoint: /cron.sh
command:
- -c
- |
echo "*/5 * * * * www-data pgrep -f 'cron.php' > /dev/null || php -f /var/www/html/cron.php" > /etc/crontabs/root
crond -f -l 2
volumes:
- /mnt/nextcloud/nextcloud/html:/var/www/html
- /mnt/nextcloud/nextcloud/apps:/var/www/html/custom_apps