feat : add Gitea env vars, mount Docker socket and deploy dirs

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-06 15:21:38 +02:00
parent 6d6b3e171c
commit c1014de637
4 changed files with 11 additions and 4 deletions

View File

@@ -40,7 +40,7 @@ FROM php:8.4-fpm AS production
RUN apt-get update && apt-get install -y \
libicu-dev libpq-dev libpng-dev libzip-dev libxml2-dev \
nginx supervisor \
nginx supervisor docker.io \
&& docker-php-ext-install -j$(nproc) intl pdo_pgsql zip gd opcache \
&& rm -rf /var/lib/apt/lists/*

View File

@@ -8,9 +8,10 @@ services:
volumes:
- ./config/jwt:/var/www/html/config/jwt:ro
- ./uploads:/var/www/html/var/uploads
- /var/www/sirh:/var/www/maintenance/sirh
- /var/www/lesstime:/var/www/maintenance/lesstime
- /var/www/inventory:/var/www/maintenance/inventory
- /var/run/docker.sock:/var/run/docker.sock
- /var/www/sirh:/var/www/sirh
- /var/www/lesstime:/var/www/lesstime
- /var/www/inventory:/var/www/inventory
extra_hosts:
- "host.docker.internal:host-gateway"
restart: unless-stopped