2.8 KiB
description: Migrating from pre v1.2 Docker image to v1.2 Docker image
Migrating from pre-1.2 Docker Image to 1.2+
Before v1.2
The Pantheon Docker image had an entry-script that automatically added a number of options to the Pantheon command line. The options could not be set using command line arguments.
The options automatically added to the Pantheon command line for the Pantheon Docker image before v1.2 were:
-
If the file existed:
--config-file /etc/pantheon/pantheon.conf
--genesis-file /etc/pantheon/genesis.json
--rpc-http-authentication-credentials-file /etc/pantheon/rpc_http_auth_config.toml
--rpc-ws-authentication-credentials-file /etc/pantheon/rpc_ws_auth_config.toml
--privacy-public-key-file /etc/pantheon/privacy_public_key
--permissions-nodes-config-file /etc/pantheon/permissions_config.toml
--permissions-accounts-config-file /etc/pantheon/permissions_config.toml
The --node-private-key-file
command line option
was not available and the node key was always read from the data path.
From v1.2
All file options (for example, --config-file
) no longer
have a default. Add the relevant command line options to your Pantheon command line and specify the file path.
The --data-path
default is now /opt/pantheon/database
.
The --node-private-key-file
default is
now /opt/pantheon/database/key
.
The host and port options continue to default to the previously set values.
!!! tip All command line options can be set using environment variables.