Docker Distribution of BEAUTY, the EPICS CS-Studio RDB Archive Engine
1.5K
Sources to be found on Github: pklaus/docker-beauty
Why not also try out one of my other EPICS related Docker projects?
docker network create beauty-net
docker volume create beauty-db-data
docker run \
--name beauty-db \
--restart=always \
--network=beauty-net \
-e POSTGRES_USER=postgres \
-e POSTGRES_PASSWORD=dA8pML9bv1By \
-v beauty-db-data:/var/lib/postgresql/data \
-d \
pklaus/beauty:db-latest
Also consider using -p 5432:5432 to publish / expose the TCP port on your host.
At the first start (or when changing the database server or the config), run:
docker run \
--rm \
--network=beauty-net \
-it \
pklaus/beauty:app-latest /bin/sh
and enter:
./config/ArchiveConfigTool \
-pluginCustomization ${pluginCustomization} \
-engine ${engine_name} \
-port ${engine_port} \
-config ${engine_configuration_file} \
-description ${engine_description} \
${engine_replace} \
${engine_steal_channels} \
-import
exit
Then, finally, to create and run the archiver app:
docker run \
--name beauty-app \
--restart=always \
--network=beauty-net \
-p 4812:4812 \
-d \
pklaus/beauty:app-latest
Check logs with:
docker logs beauty-app
Once it's successfully started, you can go to
http://your-docker-host:4812/main
to check the status of your archiver.
A full demonstration in a terminal session can be found here:
Content type
Image
Digest
Size
26.5 MB
Last updated
over 7 years ago
docker pull pklaus/beauty:db-11part