-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #247 from codeforjapan/develop
update some Development Implements
- Loading branch information
Showing
21 changed files
with
211 additions
and
196 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
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
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 @@ | ||
# Change Log | ||
|
||
## [v0.23.0-2021-5-31](https://github.com/codeforjapan/decidim-cfj/releases/tag/v0.23.0-2021-5-31) | ||
|
||
### Fixed | ||
|
||
- Fix locale file of proposals [#233](https://github.com/codeforjapan/decidim-cfj/issues/233) | ||
|
||
## [v0.23.0-2021-5-24](https://github.com/codeforjapan/decidim-cfj/releases/tag/v0.23.0-2021-5-24) | ||
|
||
### Developer improvements | ||
|
||
- production deploy by GitHub Actions [#232](https://github.com/codeforjapan/decidim-cfj/pull/232) |
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
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
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
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,3 @@ | ||
# frozen_string_literal: true | ||
|
||
Redis.exists_returns_integer = true |
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,4 +1,4 @@ | ||
:concurrency: 6 | ||
:concurrency: 3 | ||
:queues: | ||
- default | ||
- mailers | ||
|
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,25 @@ | ||
option_settings: | ||
"aws:autoscaling:launchconfiguration": | ||
IamInstanceProfile: aws-elasticbeanstalk-ec2-role | ||
EC2KeyName: aws-eb | ||
RootVolumeSize: 100 | ||
RootVolumeType: gp2 | ||
"aws:autoscaling:updatepolicy:rollingupdate": | ||
MaxBatchSize: 1 | ||
MinInstancesInService: 1 | ||
RollingUpdateEnabled: true | ||
RollingUpdateType: Health | ||
"aws:autoscaling:trigger": | ||
LowerThreshold: 30 | ||
MeasureName: CPUUtilization | ||
Statistic: Maximum | ||
Unit: Percent | ||
UpperThreshold: 60 | ||
"aws:elasticbeanstalk:environment": | ||
LoadBalancerType: application | ||
"aws:elasticbeanstalk:environment:proxy": | ||
ProxyServer: none | ||
"aws:elasticbeanstalk:environment:process:default": | ||
MatcherHTTPCode: 301 | ||
"aws:elasticbeanstalk:command": | ||
BatchSize: 30 |
This file was deleted.
Oops, something went wrong.
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,4 @@ | ||
container_commands: | ||
01-healthd-configure: | ||
command: | | ||
chmod -R 777 /var/log/nginx/healthd |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,38 @@ | ||
version: "3.8" | ||
|
||
services: | ||
nginx-proxy: | ||
image: nginx:1.21 | ||
volumes: | ||
- ./etc/nginx/nginx.conf:/etc/nginx/nginx.conf | ||
- ./etc/nginx/conf.d:/etc/nginx/conf.d | ||
- /var/log/nginx:/var/log/nginx | ||
- static-public:/app/public | ||
environment: | ||
TZ: Asia/Tokyo | ||
ports: | ||
- 80:80 | ||
links: | ||
- app | ||
depends_on: | ||
- app | ||
|
||
app: | ||
image: "{RepositoryName}" | ||
volumes: | ||
- static-public:/app/public | ||
environment: | ||
NEW_RELIC_APP_NAME: decidem-app({EBEnvironment}) | ||
env_file: | ||
- .env | ||
|
||
sidekiq: | ||
image: "{RepositoryName}" | ||
command: bundle exec sidekiq -C /app/config/sidekiq.yml | ||
environment: | ||
NEW_RELIC_APP_NAME: decidem-sidekiq({EBEnvironment}) | ||
env_file: | ||
- .env | ||
|
||
volumes: | ||
static-public: |
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,30 @@ | ||
server { | ||
listen 80 default_server; | ||
|
||
gzip on; | ||
gzip_comp_level 4; | ||
gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript; | ||
if ($time_iso8601 ~ "^(\d{4})-(\d{2})-(\d{2})T(\d{2})") { | ||
set $year $1; | ||
set $month $2; | ||
set $day $3; | ||
set $hour $4; | ||
} | ||
|
||
access_log /var/log/nginx/access.log main; | ||
access_log /var/log/nginx/healthd/application.log.$year-$month-$day-$hour healthd; | ||
|
||
root /app/public; | ||
|
||
try_files $uri $uri @app; | ||
|
||
location @app { | ||
proxy_pass http://app:3000; | ||
proxy_http_version 1.1; | ||
proxy_set_header Connection $connection_upgrade; | ||
proxy_set_header Upgrade $http_upgrade; | ||
proxy_set_header Host $host; | ||
proxy_set_header X-Real-IP $remote_addr; | ||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | ||
} | ||
} |
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,32 @@ | ||
user nginx; | ||
worker_processes auto; | ||
error_log /var/log/nginx/error.log; | ||
pid /var/run/nginx.pid; | ||
worker_rlimit_nofile 32137; | ||
|
||
events { | ||
worker_connections 1024; | ||
} | ||
|
||
http { | ||
include /etc/nginx/mime.types; | ||
default_type application/octet-stream; | ||
|
||
access_log /var/log/nginx/access.log; | ||
|
||
log_format main '$remote_addr - $remote_user [$time_local] "$request" ' | ||
'$status $body_bytes_sent "$http_referer" ' | ||
'"$http_user_agent" "$http_x_forwarded_for"'; | ||
|
||
log_format healthd '$msec"$uri"' | ||
'$status"$request_time"$upstream_response_time"' | ||
'$http_x_forwarded_for'; | ||
|
||
include conf.d/*.conf; | ||
|
||
map $http_upgrade $connection_upgrade { | ||
default "upgrade"; | ||
} | ||
|
||
server_tokens off; | ||
} |
Oops, something went wrong.