Skip to content

Commit

Permalink
add redis and dump files to prod sync, map dev port
Browse files Browse the repository at this point in the history
  • Loading branch information
danReynolds committed Jul 10, 2017
1 parent 0991160 commit 16cc516
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker-compose.override.yml
Expand Up @@ -5,4 +5,4 @@ services:
- .:/app
build: .
ports:
- 3000
- 3000:3000
2 changes: 1 addition & 1 deletion docker-compose.yml
Expand Up @@ -12,7 +12,7 @@ services:
- redis
env_file:
- .env
expose:
ports:
- 3000
nginx:
image: nginx
Expand Down
2 changes: 2 additions & 0 deletions lib/tasks/deploy.rake
Expand Up @@ -24,6 +24,8 @@ namespace :deploy do
on server do
upload! File.expand_path('../../docker-compose.yml', __dir__), deploy_path
upload! File.expand_path('../../docker-compose.production.yml', __dir__), deploy_path
upload! File.expand_path('../../redis.conf', __dir__), deploy_path
upload! File.expand_path('../../dump.rdb', __dir__), deploy_path
upload! File.expand_path('../../nginx.conf', __dir__), deploy_path
upload! File.expand_path('../../nginx.upstream.conf', __dir__), deploy_path
end
Expand Down

0 comments on commit 16cc516

Please sign in to comment.