Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: delete public docker volume for cache #275

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions deployments/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ services:
- ./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:
Expand All @@ -19,8 +18,6 @@ services:

app:
image: "{RepositoryName}"
volumes:
- static-public:/app/public
environment:
NEW_RELIC_APP_NAME: decidim-app({EBEnvironment})
env_file:
Expand All @@ -33,6 +30,3 @@ services:
NEW_RELIC_APP_NAME: decidim-sidekiq({EBEnvironment})
env_file:
- .env

volumes:
static-public:
6 changes: 1 addition & 5 deletions deployments/etc/nginx/conf.d/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,7 @@ server {
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 {
location / {
proxy_pass http://app:3000;
proxy_http_version 1.1;
proxy_set_header Connection $connection_upgrade;
Expand Down
1 change: 0 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ services:
volumes:
- ./deployments/etc/nginx/nginx.conf:/etc/nginx/nginx.conf
- ./deployments/etc/nginx/conf.d:/etc/nginx/conf.d
- ./public:/app/public
environment:
TZ: Asia/Tokyo
ports:
Expand Down