migration change
This commit is contained in:
@@ -47,5 +47,7 @@ RUN chmod 777 -R storage bootstrap/cache
|
|||||||
|
|
||||||
RUN chmod -R ugo+rw storage
|
RUN chmod -R ugo+rw storage
|
||||||
|
|
||||||
|
RUN php artisan migrate
|
||||||
|
|
||||||
# CMD [ "chmod -R ugo+rw storage" ]
|
# CMD [ "chmod -R ugo+rw storage" ]
|
||||||
|
|
||||||
|
|||||||
@@ -12,6 +12,9 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- COMPOSER_ENV=production
|
- COMPOSER_ENV=production
|
||||||
|
|
||||||
|
depends_on:
|
||||||
|
- database
|
||||||
|
|
||||||
nginx:
|
nginx:
|
||||||
volumes:
|
volumes:
|
||||||
- ./app/code:/var/www:ro
|
- ./app/code:/var/www:ro
|
||||||
|
|||||||
@@ -11,6 +11,8 @@ services:
|
|||||||
container_name: app
|
container_name: app
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
working_dir: /var/www/
|
working_dir: /var/www/
|
||||||
|
depends_on :
|
||||||
|
- database
|
||||||
networks:
|
networks:
|
||||||
- demo
|
- demo
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user