some more tweaks

This commit is contained in:
Cedric Verstraeten
2022-12-09 18:27:38 +01:00
parent 0fa1943701
commit 9012bf2bf0
3 changed files with 6 additions and 3 deletions

View File

@@ -52,7 +52,7 @@ There are a myriad of cameras out there (USB, IP and other cameras), and it migh
5. [How to run and deploy a Kerberos Agent](#how-to-run-and-deploy-a-kerberos-agent)
6. [Access the Kerberos Agent](#access-the-kerberos-agent)
7. [Configure and persist with volume mounts](#configure-and-persist-with-volume-mounts)
8. [Override with environment variables](#override-with-environment-variables)
8. [Configure with environment variables](#configure-with-environment-variables)
### Contributing

View File

@@ -34,7 +34,10 @@ You attach a volume to your container by leveraging the `-v` option. To mount yo
3. Run the docker command as following to attach your config directory and recording directory.
docker run -p 80:80 --name mycamera -v $(pwd)/agent/config:/home/agent/data/config -v $(pwd)/agent/recordings:/home/agent/data/recordings -d kerberos/agent:latest
docker run -p 80:80 --name mycamera \
-v $(pwd)/agent/config:/home/agent/data/config \
-v $(pwd)/agent/recordings:/home/agent/data/recordings\
-d --restart=alwayskerberos/agent:latest
### Override with environment variables

View File

@@ -35,7 +35,7 @@ spec:
containers:
- name: agent
image: kerberos/agent:1b96d01
image: kerberos/agent:latest
volumeMounts:
- name: kerberos-data
mountPath: /home/agent/data/config