Add volumes
continuous-integration/drone/tag Build is passing
Details
continuous-integration/drone/tag Build is passing
Details
This commit is contained in:
parent
9e39842183
commit
4672f96a5f
|
@ -9,4 +9,6 @@ COPY --from=node /app /app
|
||||||
COPY ./.docker/nginx/nginx.conf /etc/nginx/nginx.conf
|
COPY ./.docker/nginx/nginx.conf /etc/nginx/nginx.conf
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
||||||
|
VOLUME ["/app/storage/app"]
|
||||||
|
|
||||||
CMD ["nginx", "-g", "daemon off;"]
|
CMD ["nginx", "-g", "daemon off;"]
|
||||||
|
|
|
@ -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/php-entrypoint /bin/php-entrypoint
|
||||||
COPY ./.docker/horizon-entrypoint /bin/horizon-entrypoint
|
COPY ./.docker/horizon-entrypoint /bin/horizon-entrypoint
|
||||||
|
|
||||||
|
VOLUME ["/app/packages/laravel-nami/.cookies", "/app/storage/app"]
|
||||||
|
|
||||||
EXPOSE 9000
|
EXPOSE 9000
|
||||||
|
|
||||||
CMD /bin/php-entrypoint
|
CMD /bin/php-entrypoint
|
||||||
|
|
|
@ -6,6 +6,8 @@ services:
|
||||||
- php
|
- php
|
||||||
ports:
|
ports:
|
||||||
- '8000:80'
|
- '8000:80'
|
||||||
|
volumes:
|
||||||
|
- ./storage:/app/storage/app
|
||||||
|
|
||||||
php:
|
php:
|
||||||
image: zoomyboy/adrema-app:latest
|
image: zoomyboy/adrema-app:latest
|
||||||
|
@ -21,6 +23,9 @@ services:
|
||||||
XELATEX_BIN: /usr/bin/xelatex
|
XELATEX_BIN: /usr/bin/xelatex
|
||||||
PDFLATEX_BIN: /usr/bin/pdflatex
|
PDFLATEX_BIN: /usr/bin/pdflatex
|
||||||
REDIS_HOST: redis
|
REDIS_HOST: redis
|
||||||
|
volumes:
|
||||||
|
- ./storage:/app/storage/app
|
||||||
|
- ./cookies:/app/packages/laravel-nami/.cookies
|
||||||
|
|
||||||
horizon:
|
horizon:
|
||||||
image: zoomyboy/adrema-app:latest
|
image: zoomyboy/adrema-app:latest
|
||||||
|
|
Loading…
Reference in New Issue