Skip to content
This repository has been archived by the owner on Jun 11, 2019. It is now read-only.

Commit

Permalink
Update docker configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
vterdunov committed Nov 11, 2017
1 parent 6f56b78 commit ef616f3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 11 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FROM ruby:2.3-alpine
FROM ruby:2.4.2-alpine3.6

ENV APP_HOME /usr/src
ENV LANG C.UTF-8
ENV APP_HOME /janna

ARG PACKAGES=' \
ruby-dev \
Expand Down
14 changes: 7 additions & 7 deletions docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,32 +14,32 @@ services:
build: .
env_file: .env.local
volumes:
- '.:/usr/src'
- '.:/janna'
ports:
- '4567:4567'
environment:
RACK_ENV: development
depends_on:
- 'redis'
# dns:
# - 10.0.0.10
# - 8.8.8.8
depends_on:
- 'redis'

worker:
build: .
command: bundle exec sidekiq -r ./config/environment.rb
env_file: .env.local
volumes:
- '.:/usr/src'
- '.:/janna'
- 'data:/data'
environment:
RACK_ENV: development
# dns:
# - 10.0.0.10
# - 8.8.8.8
depends_on:
- 'redis'
- 'api'
# dns:
# - 10.0.0.10
# - 8.8.8.8

volumes:
data:
2 changes: 0 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ services:
redis:
image: redis:3.2-alpine
restart: unless-stopped
ports:
- '6379:6379'

api:
image: janna:latest
Expand Down

0 comments on commit ef616f3

Please sign in to comment.