This commit is contained in:
2025-09-22 20:23:49 +02:00
4 changed files with 31 additions and 12 deletions
+3 -2
View File
@@ -2,13 +2,14 @@ services:
jenkins:
container_name: jenkins
restart: unless-stopped
image: jenkins/jenkins:lts
image: registry.vbchaos.nl/jenkins-docker
user: root
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /usr/bin/docker:/usr/bin/docker
- /srv/dev-disk-by-uuid-17e88007-4d0c-45e0-8757-cacfcc458630/docker_config/jenkins/:/var/jenkins_home
- /srv/dev-disk-by-uuid-7a33692e-6462-435b-9c97-029589baeeab/jenkins_workspace:/var/jenkins_home/workspace
- /srv/dev-disk-by-uuid-7a33692e-6462-435b-9c97-029589baeeab/jenkins/workspace:/var/jenkins_home/workspace
# - /srv/dev-disk-by-uuid-7a33692e-6462-435b-9c97-029589baeeab/jenkins/jobs:/var/jenkins_home/jobs
ports:
- "8080:8080"
- "50000:50000"
+5 -1
View File
@@ -6,7 +6,11 @@ ARG GID=1000
#RUN adduser --system --no-create-home --home /nonexistent --gecos 'www-data user' --shell /bin/false --uid 82 www-data
RUN usermod -u $UID -o www-data
RUN apt update \
&& apt -y install libmagickcore-6.q16-6-extra ffmpeg imagemagick ghostscript \
&& apt -y install \
# libmagickcore-6.q16-6-extra \
ffmpeg \
imagemagick \
ghostscript \
&& apt clean
# Add custom cron job for previews
+2 -2
View File
@@ -1,3 +1,3 @@
MUID="$(id -u www-data)" MGID="$(id -g www-data)" docker-compose build --no-cache
MUID="$(id -u www-data)" MGID="$(id -g www-data)" docker-compose up -d --force-recreate
MUID="$(id -u www-data)" MGID="$(id -g www-data)" docker compose build --no-cache
MUID="$(id -u www-data)" MGID="$(id -g www-data)" docker compose up -d --force-recreate