Install a Variable Store in Docker
The OverOps Variable Store can be made available to other containers through networking.
In this guide, we'll run the Variable Store locally, binding to port 8080 on the host machine. The configuration file and storage data directory are mounted into the container from the host machine.
There are two versions of the Variable Store
- Bind Mount
- Amazon S3
Run the Variable Store (bind mount)
TipPull overops/storage-server:latest from Docker Hub
1. Create a private folder
private folder2. Create a storage folder
storage folder
ImportantThe
privateandstoragefolder needs to be on the same directory from which you run the docker commands or the path to theprivateandstoragefolder needs to be explicitly provided in the docker command arguments.
4. Run the overops/storage-server container
docker run -d -p 8080:8080 \
--mount type=bind,source="$(pwd)"/storage,target=/opt/takipi-storage/storage \
--mount type=bind,source="$(pwd)"/private,target=/opt/takipi-storage/private \
overops/storage-server:latest
5. Verify connectivity on https://app.overops.com/ in your browser
Run the Variable Store (Amazon S3)
Pull overops/storage-server-s3:latest from Docker Hub
1. Create a private folder
private folder
ImportantThe
privatefolder needs to be on the same directory from which you run the docker commands or the path to theprivatefolder needs to be explicitly provided in the docker command arguments.
In settings.yaml set the bucket name and folder to use and
set access key and secret key, or leave blank if attaching an IAM role.
s3Fs:
bucket: <BUCKET_NAME>
pathPrefix: <FOLDER_IN_BUCKET>
credentials:
accessKey: <AWS_ACCESS_KEY>
secretKey: <AWS_SECRET_KEY>
3. Run the overops/storage-server container
docker run -d -p 8080:8080 \
--mount type=bind,source="$(pwd)"/private,target=/opt/takipi-storage/private \
overops/storage-server-s3:latest
4. Verify connectivity on https://app.overops.com/ in your browser
Updated 6 months ago
