Sign inSign up

temporalio/auto-setup

Verified Publisher

By Temporal Technologies Inc

•Updated about 1 month ago

Workflow as Code (TM) to build and operate resilient applications

Image
7

50M+

temporalio/auto-setup repository overview

⚠️ DEPRECATED This image is no longer maintained and will not receive updates.

Docker Compose examples using the supported temporalio/server and temporalio/admin-tools images are available at: https://github.com/temporalio/samples-server/tree/main/compose⁠

This is the Temporal auto-setup image, which deploys Temporal with a preconfigured database -- one of Cassandra (default), MySQL, or PostgreSQL. To deploy Temporal with an external database, refer to the server⁠ image.

Temporal also optionally also supports Elasticsearch for visibility⁠.

For more sample docker-compose files, refer to the docker-compose⁠ Github repository.

You can also Sign up for Temporal Cloud⁠, ask questions in our community Slack⁠, schedule time with an expert⁠, or dive into our documentation⁠.

To configure this deployment, refer to this list of environment variables:

 

⁠General Environment Variables
NameDescriptionDefault Value
DBSpecifies the type of database you're connecting to. Allowed values are cassandra, mysql8, and postgres12.cassandra
SKIP_SCHEMA_SETUPSpecifies whether database schema creation should be skipped. Set this to true if you're using an existing schema.false
SKIP_DB_CREATESpecifies whether database creation should be skipped. Set this to true if you're using an existing database.false
⁠Cassandra Environment Variables
NameDescriptionDefault Value
KEYSPACESpecifies the name of your Cassandra keyspace.temporal
CASSANDRA_SEEDSSpecifies your Cassndra hostname.unset
CASSANDRA_PORTSpecifies the port to connect to Cassandra on.9042
CASSANDRA_USERSpecifies your Cassandra username.unset
CASSANDRA_PASSWORDSpecifies your Cassandra password.unset
CASSANDRA_TLS_ENABLEDSpecifies whether you are using TLS to connect to Cassandra.false
CASSANDRA_CERTSpecifies the path to your Cassandra security certificate, if you are using TLS.unset
CASSANDRA_CERT_KEYSpecifies the path to your Cassandra security certificate key, if you are using TLS.unset
CASSANDRA_CASpecifies the host of your Cassandra security certificate authority, if needed.unset
CASSANDRA_REPLICATION_FACTORSpecifies how many replicas⁠ your Cassandra database is using.1
⁠MySQL/PostgreSQL Environment Variables
NameDescriptionDefault Value
DBNAMESpecifies the name of your MySQL / Postgres database.temporal
VISIBILITY_DBNAMESpecifies the name of your MySQL / Postgres visibility database, separate from the main Temporal database.temporal_visibility
DB_PORTSpecifies the port to connect to MySQL/PostgreSQL on.3306
MYSQL_SEEDSSpecifies your MySQL hostname.unset
MYSQL_USERSpecifies your MySQL username.unset
MYSQL_PWDSpecifies your MySQL password.unset
MYSQL_TX_ISOLATION_COMPATThis variable enables compatibility with pre-5.7.20 MySQL installations, if needed.false
POSTGRES_SEEDSSpecifies your Postgres hostname.unset
POSTGRES_USERSpecifies your PostgreSQL username.unset
POSTGRES_PWDSpecifies your PostgreSQL password.unset
POSTGRES_TLS_ENABLEDSpecifies whether you are using TLS to connect to Postgres.false
POSTGRES_TLS_DISABLE_HOST_VERIFICATIONSpecifies whether Postgres should skip host key verification (e.g. if you can't easily verify server certs when using Amazon RDS).false
POSTGRES_TLS_CERT_FILESpecifies the path to your Postgres security certificate, if you are using TLS.unset
POSTGRES_TLS_KEY_FILESpecifies the path to your Postgres security certificate key, if you are using TLS.unset
POSTGRES_TLS_CA_FILESpecifies the path to your Postgres security certificate authority, if needed.unset
POSTGRES_TLS_SERVER_NAMESpecifies the host of your Postgres TLS server, if needed.unset
⁠Elasticsearch Environment Variables
NameDescriptionDefault Value
ENABLE_ESSpecifies whether you are using Elasticsearch.false
ES_SCHEMESpecifies how you are connecting to Elasticsearch. Allowed values are http and https.http
ES_SEEDSSpecifies a comma-separated list of Elasticsearch nodes.unset
ES_PORTSpecifies the port to connect to Elasticsearch on.9200
ES_USERSpecifies your Elasticsearch username.unset
ES_PWDSpecifies your Elasticsearch password.unset
ES_VERSIONSpecifies your Elasticsearch version.v7
ES_VIS_INDEXSpecifies the name of your Elasticsearch index.temporal_visibility_v1_dev
ES_SEC_VIS_INDEXSpecifies the name of your secondary visibility⁠ Elasticsearch index.unset
ES_SCHEMA_SETUP_TIMEOUT_IN_SECONDSSpecifies the Elasticsearch schema setup timeout. The default value of 0 means that schema setup will not time out.0
⁠Server Setup Environment Variables
NameDescriptionDefault Value
TEMPORAL_ADDRESSSpecifies the address of the Temporal server.unset
SKIP_DEFAULT_NAMESPACE_CREATIONSpecifies whether Temporal should skip creating a default namespace on install.false
DEFAULT_NAMESPACESpecifies the name of the default namespace that your Temporal Service will use.default
DEFAULT_NAMESPACE_RETENTIONSpecifies how long the default namespace will retain data associated with closed Workflow Executions⁠.24h
SKIP_ADD_CUSTOM_SEARCH_ATTRIBUTESSpecifies whether Temporal should skip adding custom search attributes on install.false

Tag summary

Content type

Image

Digest

sha256:9be7b8d98…

Size

205 MB

Last updated

8 months ago

docker pull temporalio/auto-setup

This week's pulls

Pulls:

1,113,956

Last week