-
Notifications
You must be signed in to change notification settings - Fork 0
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
Dockerize project #39
base: master
Are you sure you want to change the base?
Conversation
Dockerfile
Outdated
@@ -0,0 +1,18 @@ | |||
FROM ruby:2.5.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
docker/app/Dockerfile
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ruby:2.5.1-with-nodejs
Dockerfile
Outdated
COPY Gemfile Gemfile.lock ./ | ||
RUN bundle install | ||
|
||
COPY . . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing:
- assets precompile
- git cloning
- configs
Dockerfile
Outdated
|
||
COPY . . | ||
|
||
LABEL maintainer="Aleksei Lazarenko <[email protected]>" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to top
config/initializers/sidekiq.rb
Outdated
@@ -3,11 +3,17 @@ | |||
|
|||
Sidekiq.configure_client do |config| | |||
# accepts :expiration (optional) | |||
config.redis = { | |||
url: 'redis://redis:6379' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ENV
docker-compose.yml
Outdated
ports: | ||
- "6379:6379" | ||
volumes: | ||
- 'redis:/data' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/data:/var/data/redis
docker-compose.yml
Outdated
image: 'postgres:10.5' | ||
restart: always | ||
volumes: | ||
- 'postgres:/var/lib/postgresql/data' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/data:/var/lib/postgresql/data
docker-compose.yml
Outdated
- "6379:6379" | ||
volumes: | ||
- 'redis:/data' | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nginx?
https?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
letsencrypt
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nginx-le
docker-compose.yml
Outdated
volumes: | ||
- 'redis:/data' | ||
|
||
website: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
app
No description provided.