feat: storage volume

This commit is contained in:
Leon 2026-01-30 17:25:26 +01:00
parent 74efb997d3
commit def7a473e2
2 changed files with 6 additions and 0 deletions

View File

@ -19,6 +19,7 @@ services:
IGNITION_LOCAL_SITES_PATH: "${PWD}"
volumes:
- ".:/var/www/html"
- "sail-storage:/var/www/html/storage/app"
networks:
- sail
depends_on:
@ -80,3 +81,5 @@ volumes:
driver: local
sail-meilisearch:
driver: local
sail-storage:
driver: local

View File

@ -20,6 +20,8 @@ services:
DB_DATABASE: "${DB_DATABASE}"
DB_USERNAME: "${DB_USERNAME}"
DB_PASSWORD: "${DB_PASSWORD}"
volumes:
- storage-data:/var/www/html/storage/app
# treasure-api-migrate:
# image: registry.gitlab.com/treasure-hunt4/treasure-api:latest
@ -117,3 +119,4 @@ services:
volumes:
mysql-data:
meilisearch-data:
storage-data: