permission git

This commit is contained in:
Saufi
2026-06-16 20:14:28 +08:00
parent 61f6e3a587
commit a6117828ad
2 changed files with 21 additions and 3 deletions

View File

@@ -10,6 +10,10 @@ services:
volumes:
- ./src:/var/www/html
- ./docker/php/custom.ini:/usr/local/etc/php/conf.d/99-custom.ini
# Storage & bootstrap/cache guna named volume supaya chown www-data
# (dalam entrypoint) tak menukar pemilikan fail git di host.
- storage_data:/var/www/html/storage
- bootstrap_cache:/var/www/html/bootstrap/cache
environment:
APACHE_DOCUMENT_ROOT: /var/www/html/public
APP_ENV: local
@@ -42,4 +46,10 @@ services:
networks:
backend_net:
name: backend_net
external: true
external: true
volumes:
storage_data:
driver: local
bootstrap_cache:
driver: local