Skip to content

Commit

Permalink
update volumes
Browse files Browse the repository at this point in the history
  • Loading branch information
microstudi committed Jan 4, 2024
1 parent 89419ff commit 1b51899
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
6 changes: 2 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ services:
app:
build: .
volumes:
- decidim_uploads:/app/public/uploads
- decidim_storage:/app/storage
- /home/dockerexec/storage:/app/storage
restart: ${RESTART_POLICY:-always}
environment:
- RUN_RAILS=true
Expand Down Expand Up @@ -50,8 +49,7 @@ services:
sidekiq:
build: .
volumes:
- decidim_uploads:/app/public/uploads
- decidim_storage:/app/storage
- /home/dockerexec/storage:/app/storage
restart: ${RESTART_POLICY:-always}
environment:
- DATABASE_URL=${DATABASE_URL:-postgres://postgres:decidim@db/decidim}
Expand Down
6 changes: 3 additions & 3 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ server {
keepalive_timeout 5; # path for static files

root /app/public;
access_log /app/log/nginx.access.log;
error_log /app/log/nginx.error.log info;
access_log /app/log/nginx/access.log;
error_log /app/log/nginx/error.log¡;
set $upstream http://app¡;

location / {
set $upstream http://app:3000;

proxy_pass $upstream;
proxy_set_header Host $host;
Expand Down

0 comments on commit 1b51899

Please sign in to comment.