Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

You must have Docker Engine installed. See https://docs.docker.com/get-docker/ for information on how to do that.

Start a command session to the Docker host and make sure you can run docker commands. If necessary sudo to root or other user.

...

  1. p - in this example 8000 is the port which FlexDeploy will be accessed on mapping to port 8080 in the container

  2. FLEX_DB_URL - jdbc URL for accessing the database. See below for syntax

  3. FD_ADMIN_PWD - Password for the fdadmin user in the database

  4. TZ - Time zone for the container. Given example is America/Chicago.

  5. dbtype - if you are using postgres or oracle database.

  6. INFLUX_DB_USER - Username for the built in influxdb. This can be any username of your choosing.

  7. INFLUX_DB_PASSWORD - Password for the built in influxdb. Username and password are only used upon first initialization. After that token is used to connect to the database. This can be any random secure word/text of your choosing.

  8. INFLUX_DB_TOKEN - Token used to connect to the built in influxdb. This can be any random secure word/text of your choosing.

  9. v - This will set where your application, repository, vsm and logs folders will go on the docker host. Everything before the colon is on the local machine, after is inside the container. Leave that as /dockervolume

  10. Last is the image which will be flexdeploy/fd_tcat: and the version you want to run.

Code Block
languagebash
docker run --name flexdeploy -p 8000:8080 -e FLEX_DB_URL="jdbc:oracle:thin:@URL:PORT:xe" -e FD_ADMIN_PWD=DATABASEPASSWORD -e TZ=America/Chicago -e dbtype=oracle|postgres -e INFLUX_DB_USER=flexdeploy -e INFLUX_DB_PASSWORD=INFLUXDBPASSWORD -e INFLUX_DB_TOKEN=INFLXUDBTOKENHERE -v /scratch/DockerVolume/flexdeploy:/dockervolume flexdeploy/fd_tcat:VERSION

...