Compare commits
2 Commits
c193bbc32a
...
4d5b65a98a
| Author | SHA1 | Date | |
|---|---|---|---|
| 4d5b65a98a | |||
| eaadf86ea1 |
@@ -5,7 +5,8 @@
|
||||
"Bash(docker exec:*)",
|
||||
"Bash(curl -s -o /dev/null -w \"%{http_code}\" http://localhost:8005/)",
|
||||
"Bash(curl -v http://localhost:8005/)",
|
||||
"Bash(curl -s -o /dev/null -w \"%{http_code}\" http://localhost:8005/login)"
|
||||
"Bash(curl -s -o /dev/null -w \"%{http_code}\" http://localhost:8005/login)",
|
||||
"Bash(git add:*)"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -52,9 +52,14 @@ RUN composer install \
|
||||
--no-autoloader \
|
||||
--prefer-dist
|
||||
|
||||
RUN composer dump-autoload --no-scripts --optimize --classmap-authoritative && \
|
||||
RUN mkdir -p /var/www/storage/app/public \
|
||||
/var/www/storage/framework/cache \
|
||||
/var/www/storage/framework/sessions \
|
||||
/var/www/storage/framework/views \
|
||||
/var/www/storage/logs && \
|
||||
composer dump-autoload --no-scripts --optimize --classmap-authoritative && \
|
||||
chown -R root:www-data /var/www && \
|
||||
chmod 755 -R /var/www && \
|
||||
chmod -R 775 /var/www/bootstrap/cache
|
||||
chmod -R 775 /var/www/storage /var/www/bootstrap/cache
|
||||
|
||||
WORKDIR /var/www
|
||||
|
||||
@@ -9,6 +9,7 @@ services:
|
||||
restart: always
|
||||
volumes:
|
||||
- ./:/var/www
|
||||
- storage_data:/var/www/storage
|
||||
depends_on:
|
||||
- db
|
||||
web:
|
||||
@@ -17,6 +18,7 @@ services:
|
||||
restart: always
|
||||
volumes:
|
||||
- ./:/var/www
|
||||
- storage_data:/var/www/storage
|
||||
- ./_docker/nginx/conf.d:/etc/nginx/conf.d
|
||||
ports:
|
||||
- "8005:80"
|
||||
@@ -37,3 +39,4 @@ services:
|
||||
|
||||
volumes:
|
||||
postgres_data:
|
||||
storage_data:
|
||||
|
||||
Reference in New Issue
Block a user