Skip to content

Commit

Permalink
Set default values for camera file structure
Browse files Browse the repository at this point in the history
  • Loading branch information
meadej committed Jan 10, 2023
1 parent 383c833 commit 6035696
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/dockerbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ jobs:
env:
# Every folder in the repo that has a Dockerfile within it, comma separated
DOCKERFOLDERS: "edge-detect/ai,tracker,piaware,pan-tilt-pi,notebook-server,mqtt,egi,axis-ptz"
DOCKERUSERNAME: ${{ secrets.DOCKER_USERNAME }}
PROJECT_NAME: "skyscan"
run: |
IFS=","
Expand All @@ -53,7 +52,7 @@ jobs:
echo "Building $folder"
echo $SUBNAME
docker buildx build "$folder" --push \
--tag $DOCKERUSERNAME/$PROJECT_NAME-$SUBNAME:latest \
--tag $DOCKERUSERNAME/$PROJECT_NAME-$SUBNAME:${{ steps.get_tag.outputs.IMAGE_TAG }} \
--tag iqtlabs/$PROJECT_NAME-$SUBNAME:latest \
--tag iqtlabs/$PROJECT_NAME-$SUBNAME:${{ steps.get_tag.outputs.IMAGE_TAG }} \
--platform linux/arm64,linux/amd64
done
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ services:

axis-ptz:
image: iqtlabs/skyscan-axis-ptz
command: "./camera.py -f -m mqtt -t skyscan/flight/json -u ${AXIS_USERNAME} -p ${AXIS_PASSWORD} -a ${AXIS_IP} -z ${CAMERA_ZOOM} -s ${CAMERA_MOVE_SPEED} -d ${CAMERA_DELAY} --lat ${LAT} --lon ${LONG} --alt ${ALT}"
command: "./camera.py -m mqtt -t skyscan/flight/json -u ${AXIS_USERNAME} -p ${AXIS_PASSWORD} -a ${AXIS_IP} -z ${CAMERA_ZOOM} -s ${CAMERA_MOVE_SPEED} -d ${CAMERA_DELAY} --lat ${LAT} --lon ${LONG} --alt ${ALT}"
volumes:
- /flash/raw:/app/capture
depends_on:
Expand Down

0 comments on commit 6035696

Please sign in to comment.