-
Notifications
You must be signed in to change notification settings - Fork 10
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
[Bug fix] - Fix docker #61
Conversation
Hey, It's Parity. I tried to verify if the script works for a while: I could definitely say that the answer is yes, but with a little bit of changes needed. Apologies for late response as well.
Logs above is from running from Linux Mint(Ubuntu basically), x86_64. Script detected that /.dockerenv isn't present, so it's running properly.
And logs above is from Docker, installed on Raspberry Pi 3B(ARM64). Script detected that /.dockerenv is present here. One thing to note: In Linux environment, everything is case-sensitive. Is cp default.config QBunnyTV.config
pm2 start AutoVOD.sh --name QBunnyTV Letter case from name of the config file must be exactly the same until the very last step so that the script detects the config file properly or else script would stop working. Same goes for Docker installation as well. Maybe add some detail on this in That's all from me for now. I will write further in case I discover something else. |
@totallyparity I really appreciate the review 😄 This is more of a hotfix for Docker |
Fixes #55
I am very new to Docker, so these changes might be bad practice and very hacky, but I seem to have gotten it working.
Changes made:
/.dockerenv
exists, if so that means the script is running inside Docker (Docker creates a .dockerenv file at the root of the directory tree inside container)STREAMER_NAME
variable when running the docker run command: (docker run -d autovod streamerNameHere
)fetchArgs
funccurl
to depdenciesAlpine
versionyoutubeuploader
versionTested console output