Giter VIP home page Giter VIP logo

dokku-require's People

Contributors

benaghaeipour avatar crisward avatar hippich avatar josegonzalez avatar niekkeijzer 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar

dokku-require's Issues

Permission issues with storage

I included storage to mount in my app.json. I tried to access that storage after using dokku enter $APP and appearing as herokuishuser, but I received a "Permission denied" error.

The permissions appear to be -rw------- 1 32767 32767. The docs (https://github.com/dokku/dokku/blob/master/docs/advanced-usage/persistent-storage.md) recommend using chown chown -R 32767:32767 /var/lib/dokku/data/storage/ruby-rails-sample. Can dokku-require check, and correct if necessary, the permissions of the storage it mounts.

(dokku/dokku#2215 seems relevant to this issue.)

db is detected with app name but not being linked

If you have a db (or other plugin) named appropriately with the app name, dokku-require declares it "already setup". But the db may not be linked to your app. So after checking for existence, it should check for linkage, and link if necessary. (Thanks for a great plugin, by the way!)

First Push Only Options

It would be good to enable some options to only apply on first push / or perhaps if they don't already exist. (as per discussion here dokku/dokku#2269)

Env vars are mentioned as an issue, but dokku-require doesn't specifically support env vars. However having a 'firstpush' option could be useful in general.

Dokku may add something to core for this, but here could be a good place to experiment with the feature.

eg.

"dokku":{
    "plugins":[
      {
        "name":"mariadb",
        "firstpush":true,
        "commands":["mariadb:create mydb","mariadb:link mydb $APP"]
      }
    ]
  }

Cron jobs

Is there a feature to describe cron jobs in app.json with this plugin?

Does not work with Dockerfile deployments

I tried using this with a Dockerfile deployment, and nothing happened.
Is this supposed to work, or is it unsupported?

Here's what I did:

  • Install docker and dokku
  • Install the require plugin
  • push an app with the following app.json in the root:
{
  "dokku":{
    "plugins":[
      "postgres"
    ]
  }
}

After a successful app deployment, the postgres plugin was not installed and no database was created.

Why not dokku core storage?

Hey, I'm very happy to see this plugin, I can finally get rid of most of my deployment scripts and really automate deployment of my DBs and volumes \o/

Quick question though: why using docker volumes instead of dokku core storage? I'm genuinely interested, as I've started to switch to dokku storage for all my apps.

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.