Skip to content

Commit

Permalink
Add a Redis service. [#3]
Browse files Browse the repository at this point in the history
  • Loading branch information
marnen committed Apr 3, 2020
1 parent 3fef250 commit db3303e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,7 @@ services:
ports: ["3000:3000"]
networks: [internal]
command: ["bundle", "exec", "rails", "server", "-b", "0.0.0.0"]
cache:
image: redis:5.0.8-alpine
volumes:
bundle: # see https://dev.to/k_penguin_sato/cache-rails-gems-using-docker-compose-3o3f

0 comments on commit db3303e

Please sign in to comment.