mirror of
https://github.com/kerberos-io/agent.git
synced 2026-08-23 15:08:32 +00:00
some more tweaks
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user