Skip to content
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

Volume support? #21

Closed
thebetterjort opened this issue Jan 20, 2017 · 3 comments
Closed

Volume support? #21

thebetterjort opened this issue Jan 20, 2017 · 3 comments

Comments

@thebetterjort
Copy link

thebetterjort commented Jan 20, 2017

Trying to run a node script and was trying to mount a volume? Is this possible? I think I'm confused.
I'm trying to run a casperJS script and then a node script. Both of these scripts are on the host.

[job-run "job-executed-on-running-container"]
schedule = @every 30s
container = zopanix/casperjs --rm -v /etc/ofelia/scripts:/data
command = casper.js --web-security=no --ssl-protocol=any --ignore-ssl-errors=yes --city=AR --output=XML --filename=latest.xml

[job-run "job-executed-on-new-container"]
schedule = @every 60s
image = node:4 -v /etc/ofelia/scripts:/usr/src/app -w /usr/src/app
command = node xmltojson.js
@thebetterjort
Copy link
Author

volume support is added from the ophelia run command

@alexanderfefelov
Copy link

alexanderfefelov commented Nov 28, 2018

volume support is added from the ophelia run command

Which syntax to use?

@eleaner
Copy link

eleaner commented Dec 28, 2018

same question here. what's the syntax?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants