Giter VIP home page Giter VIP logo

docker-rails-generator's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar github-actions[bot] avatar mikerogers0 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

docker-rails-generator's Issues

Permission defined error caused by yarn cache clean --all

I'm getting the following when trying to create a build image with 'production' as the target.

docker build -t my_app --target production .

#22 19.09 yarn cache v1.22.10
#22 19.11 error An unexpected error occurred: "EACCES: permission denied, rmdir '/usr/src/yarn'".
#22 19.11 info If you think this is a bug, please open a bug report with the information provided in "/usr/src/app/yarn-error.log".
#22 19.11 info Visit https://yarnpkg.com/en/docs/cli/cache for documentation about this command.
------
executor failed running [/bin/sh -c yarn install --frozen-lockfile --check-files       && yarn cache clean --all]: exit code: 1

The image builds as expected when I remove this line:

&& yarn cache clean --all

Use V3 of Docker-Compose

I went for V2 because it will wait for postgres to start before starting ruby. However, Github Codespaces doesn't support V2 so I should probably move it up to V3.

I think wait-for-it could be the solution to enabling the waiting for functionality, maybe with via entrypoint file stored in bin/.

If anyone has a better solution I'm all ears :D

PostgreSQL log mount makes log directory unwritable by Rails

First of all, thanks for this great project. Super helpful.

I want to let you know that I found a potential issue.

On this line, it seems to be mounting the PostgreSQL log to the Rails application's log directory. This is a problem as it makes the Rails log unwritable by Rails.

I was able to "fix" the problem by commenting out the line. If I'm not mistaken, maybe ./log could be changed to some other directory as to remove the conflict.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.