We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9f9b0cb + 4b93e05 commit cb6ced1Copy full SHA for cb6ced1
docker-compose.yml
@@ -1,11 +1,10 @@
1
-version: '3'
2
services:
3
app:
4
container_name: app
5
build: ./docker/app
6
- volumes:
+ volumes:
7
- .:/var/www/html/connect-cms
8
- ports:
+ ports:
9
- 80:80
10
environment:
11
DB_USERNAME: JohnDoe
docker/app/setup.sh
@@ -22,9 +22,9 @@ sed -i 's/MAIL_FROM_ADDRESS=null/MAIL_FROM_ADDRESS=mailhog@mailhog.com/g' .env
22
# アプリケーションキーの初期化
23
php artisan key:generate
24
# DBマイグレーション
25
-php artisan migrate
+php artisan migrate --force
26
# seederで初期データインポート
27
-php artisan db:seed
+php artisan db:seed --force
28
29
# storageディレクトリとbootstrap/cacheディレクトリをWebサーバから書き込み可能にする
30
chown -R www-data:www-data storage
0 commit comments