Docker quickstart
Prerequisites
- have Docker installed and running
- have the credentials to login to Simplicité's private Docker images registry
Start an instance
-
login to the registry
docker login registry.simplicite.io -
start a development instance with an embedded database:
docker run \-p 8080:8080 \-e DEV_MODE=true \-v db:/usr/local/tomcat/webapps/ROOT/WEB-INF/db \-v dbdoc:/usr/local/tomcat/webapps/ROOT/WEB-INF/dbdoc \registry.simplicite.io/platform:6-latestor the same with the compose plugin:
cat << EOF > docker-compose.ymlservices:simplicite:image: registry.simplicite.io/platform:6-latestports:- 8080:8080volumes:- db:/usr/local/tomcat/webapps/ROOT/WEB-INF/db- dbdoc:/usr/local/tomcat/webapps/ROOT/WEB-INF/dbdocenvironment:DEV_MODE: "true"volumes:db:dbdoc:EOFdocker compose upThe instance's UI is then available on http://localhost:8080 (user/password =
designer/simplicite).