Add volumes
continuous-integration/drone/tag Build is passing Details

This commit is contained in:
Philipp Lang 2023-07-20 23:19:59 +02:00
parent 9e39842183
commit 4672f96a5f
3 changed files with 9 additions and 0 deletions

View File

@ -9,4 +9,6 @@ COPY --from=node /app /app
COPY ./.docker/nginx/nginx.conf /etc/nginx/nginx.conf
EXPOSE 80
VOLUME ["/app/storage/app"]
CMD ["nginx", "-g", "daemon off;"]

View File

@ -22,6 +22,8 @@ COPY --chown=www-data:www-data --from=composer /app/vendor /app/vendor
COPY ./.docker/php-entrypoint /bin/php-entrypoint
COPY ./.docker/horizon-entrypoint /bin/horizon-entrypoint
VOLUME ["/app/packages/laravel-nami/.cookies", "/app/storage/app"]
EXPOSE 9000
CMD /bin/php-entrypoint

View File

@ -6,6 +6,8 @@ services:
- php
ports:
- '8000:80'
volumes:
- ./storage:/app/storage/app
php:
image: zoomyboy/adrema-app:latest
@ -21,6 +23,9 @@ services:
XELATEX_BIN: /usr/bin/xelatex
PDFLATEX_BIN: /usr/bin/pdflatex
REDIS_HOST: redis
volumes:
- ./storage:/app/storage/app
- ./cookies:/app/packages/laravel-nami/.cookies
horizon:
image: zoomyboy/adrema-app:latest