keshavdv / unifi-cam-proxy

Enable non-Ubiquiti cameras to work with Unifi NVR
MIT License
1.73k stars 237 forks source link

Can't figure out what I'm doing wrong in my docker compose file #239

Closed republicandaddy closed 2 years ago

republicandaddy commented 2 years ago

Hi all. I'm not new to docker, but I RARELY use docker compose to build a container. I usually just use portainer....

So, here's a copy of my compose file.

I've tried various different variations of this, but seem to get constant errors ( to many to list here), but I suspect it's about my formating. Can any of you look at this and see what is wrong with my formating? I've XX'd out my security info, but nothing else is different in the real thing. This is driving me crazy.....with this particular file, I'm getting the error..... unifi-cam-proxy: error: unrecognized arguments: --motion-index=0 --snapshot-channel=1 --ffmpeg-args=-c:a copy -c:v copy -bsf:v "h264_metadata=tick_rate=30000/1001"

`version: '3.9' services: unifi-cam: restart: always image: keshavdv/unifi-cam-proxy volumes:

image

Any help you all could offer would be apprecaited!

Cheers!

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

mabunixda commented 2 years ago

@republicandaddy did you try to not use multiline on command? Reference the docker-compose docs this is either a single line or a list - so i'd try the list version

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.