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

Some issues on mac #6

Open
franzyke opened this issue May 24, 2019 · 0 comments
Open

Some issues on mac #6

franzyke opened this issue May 24, 2019 · 0 comments

Comments

@franzyke
Copy link

franzyke commented May 24, 2019

I just tried this repo on MacOS (10.14.5). But there were some errors and docker-compose up fails.

... The paths /etc/timezone and /dev/shm/shinobiDockerTemp and /etc/localtime\r\nare not shared from OS X and are not known to Docker ...

Here's what I did to make it work: (taken from here)

  • - /etc/localtime:/etc/timezone:ro to ${ETC_LOCALTIME}:/etc/localtime:ro in docker-compose.yml
  • Commented out - /etc/timezone:/etc/timezone:ro
  • echo "ETC_LOCALTIME=$(readlink /etc/localtime)" >> .env ()

Also there was some directory not found error with the temp directory. So I moved it to my home folder

  • I also had to change /dev/shm/shinobiDockerTemp:/dev/shm/streams to /Users/myusername/shinobiDockerTemp:/dev/shm/streams
  • mkdir /Users/myusername/shinobiDockerTemp (this may not be necessary)

Now the application works. there are some errors when doing docker-compose logs. But the main UI works now

Haven't tested it yet with an actual camera yet

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

1 participant