Persist Data docker run --publish 10088:8085 --volume /my-docker-data-dir/promet:/srv/promet promet-server
Dockerfile to run Promet-ERP promet-ERP GUI Client from an container image.
Automated builds of the image are available on Dockerhub and is the recommended method of installation.
docker pull cutec/promet-server:latest
Alternatively you can build the image locally.
docker build -t cutec/promet-server github.com/cutec-chris/promet-server-docker
Step 1. Launch the promet container
docker run --publish 10088:8085 cutec/promet-server
Point your browser to http://localhost:10088 and go through the Mandant Wizard to create and Database and prefill it with an Profile.
You should now have the Promet-ERP application up and ready for testing. If you want to use this image in production then please read on.
promet-ERP is an (Article,Contact,Project,Document) Management Software and as such you don't want to lose your Data when the docker container is stopped/deleted. To avoid losing any data, you should mount a volume at,
/srv/prometSELinux users are also required to change the security context of the mount point so that it plays nicely with selinux.
mkdir -p /srv/docker/promet
sudo chcon -Rt svirt_sandbox_file_t /srv/docker/promet
Volumes can be mounted in docker by specifying the -v option in the docker run command.
docker run --name promet-erp -d \
--publish 10088:8080 \
--volume /srv/docker/promet:/srv/promet \
cutec/promet-server:latest
Promet-ERP uses a database backend to store its data. You can configure this image to use either SQLite, MySQL, Firebird, MsSQL or PostgreSQL.
The image also supports using an external PostgreSQL Server.
CREATE ROLE promet with LOGIN CREATEDB PASSWORD 'password';
CREATE DATABASE promet_production;
GRANT ALL PRIVILEGES ON DATABASE promet_production to promet;
The Webinterface will point you through the rest of the process.
docker pull cutec/promet-server:latest
docker stop promet-erp
docker rm promet-erp
docker run --name promet-erp -d [OPTIONS] cutec/promet-server:latest
For debugging and maintenance purposes you may want access the containers shell. If you are using docker version 1.3.0 or higher you can access a running containers shell using docker exec command.
docker exec -it promet-erp bash
Content type
Image
Digest
Size
241.6 MB
Last updated
over 7 years ago
docker pull cutec/promet-server