-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
34 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,3 +21,5 @@ | |
/yarn-error.log | ||
|
||
.byebug_history | ||
docker/s3/.minio.sys/buckets/employees | ||
docker/s3/.minio.sys/tmp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,10 @@ | ||
#!/bin/bash | ||
#!/bin/zsh | ||
|
||
################################# | ||
### 実行方法 | ||
### $ ./spring.sh rake db:migrate | ||
################################# | ||
|
||
cd ./docker | ||
|
||
echo $1 $2 $3 $4 $5 $6 $7 $8 $9 | ||
|
||
docker exec creators_spring $1 $2 $3 $4 $5 $6 $7 $8 $9 | ||
docker exec employees_app $1 $2 $3 $4 $5 $6 $7 $8 $9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,13 @@ | ||
#!/bin/bash | ||
#!/bin/zsh | ||
|
||
# 時々プロセスが残ってしまうことがあるので念のため削除 | ||
rm ./tmp/pids/server.pid | ||
rm ../tmp/pids/server.pid | ||
|
||
################################# | ||
### 実行方法 | ||
### $ ./start.sh | ||
################################# | ||
|
||
cd ./docker | ||
|
||
docker-compose stop | ||
|
||
docker-compose up |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"Version":"2012-10-17","Statement":[{"Action":["s3:GetBucketLocation","s3:ListBucketMultipartUploads"],"Effect":"Allow","Principal":{"AWS":["*"]},"Resource":["arn:aws:s3:::employees"],"Sid":""},{"Action":["s3:ListBucket"],"Condition":{"StringEquals":{"s3:prefix":["*"]}},"Effect":"Allow","Principal":{"AWS":["*"]},"Resource":["arn:aws:s3:::employees"],"Sid":""},{"Action":["s3:AbortMultipartUpload","s3:DeleteObject","s3:GetObject","s3:ListMultipartUploadParts","s3:PutObject"],"Effect":"Allow","Principal":{"AWS":["*"]},"Resource":["arn:aws:s3:::employees/**"],"Sid":""}]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/zsh | ||
|
||
################################# | ||
### 実行方法 | ||
### $ ./spring.sh rake db:migrate | ||
################################# | ||
|
||
echo $1 $2 $3 $4 $5 $6 $7 $8 $9 | ||
|
||
docker exec craftors_app $1 $2 $3 $4 $5 $6 $7 $8 $9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/zsh | ||
|
||
# 時々プロセスが残ってしまうことがあるので念のため削除 | ||
rm ../tmp/pids/server.pid | ||
|
||
################################# | ||
### 実行方法 | ||
### $ ./start.sh | ||
################################# | ||
|
||
docker-compose stop | ||
|
||
docker-compose up |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,11 @@ | ||
#!/bin/bash | ||
#!/bin/zsh | ||
|
||
# 時々プロセスが残ってしまうことがあるので念のため削除 | ||
rm ./tmp/pids/server.pid | ||
rm ../tmp/pids/server.pid | ||
|
||
################################# | ||
### 実行方法 | ||
### $ ./start.sh | ||
################################# | ||
|
||
cd ./docker | ||
|
||
docker-compose up |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,11 @@ | ||
#!/bin/bash | ||
#!/bin/zsh | ||
|
||
# 時々プロセスが残ってしまうことがあるので念のため削除 | ||
rm ./tmp/pids/server.pid | ||
rm ../tmp/pids/server.pid | ||
|
||
################################# | ||
### 実行方法 | ||
### $ ./start.sh | ||
################################# | ||
|
||
cd ./docker | ||
|
||
docker-compose stop |