Actually truly really NOW actually for real really truly now actually for real fix docker compose in updater

This commit is contained in:
Peter Smit
2025-01-17 15:07:57 +01:00
parent 29e4fd55de
commit 5df94141e8
2 changed files with 2 additions and 7 deletions

View File

@@ -19,10 +19,6 @@ RUN apt-get update && \
apt-get install -y git docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin && \ apt-get install -y git docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin && \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*
# Add user to the docker group
ARG DOCKER_GID
RUN usermod -aG $DOCKER_GID www-data
# Create .docker directory and set permissions # Create .docker directory and set permissions
RUN mkdir -p /var/www/.docker && \ RUN mkdir -p /var/www/.docker && \
chown www-data:www-data /var/www/.docker chown www-data:www-data /var/www/.docker
@@ -30,8 +26,6 @@ RUN mkdir -p /var/www/.docker && \
# Copy the PHP file to the Apache document root # Copy the PHP file to the Apache document root
COPY webhook.php /var/www/html/index.php COPY webhook.php /var/www/html/index.php
RUN git config --system --add safe.directory *
# Expose port 80 # Expose port 80
EXPOSE 80 EXPOSE 80

View File

@@ -5,7 +5,8 @@ services:
dockerfile: Dockerfile dockerfile: Dockerfile
args: args:
- DOCKER_GID=$DOCKER_GID - DOCKER_GID=$DOCKER_GID
user: ${DOCKER_CONFIG_DIR_UID}:${DOCKER_CONFIG_DIR_GID} user: ${DOCKER_CONFIG_DIR_UID}:${$DOCKER_GID}
restart: unless-stopped
ports: ports:
- "6969:80" - "6969:80"
env_file: env_file: