{"user":"temporalio","name":"server","namespace":"temporalio","repository_type":"image","status":1,"status_description":"active","description":"Workflow as Code (TM) to build and operate resilient applications","is_private":false,"is_automated":false,"star_count":23,"pull_count":52860633,"last_updated":"2026-11-02T18:42:51.237779Z","last_modified":"2025-02-10T16:58:10.875223Z","date_registered":"2020-03-20T17:29:48.84058Z","collaborator_count":0,"affiliation":null,"hub_user":"temporalio","has_starred":false,"full_description":"This is the Temporal Server image, which is intended to be deployed into a production environment to connect to an external database -- one of Cassandra (default), MySQL, or PostgreSQL. To deploy Temporal with a preconfigured database, refer to the [auto-setup](https://hub.docker.com/r/temporalio/auto-setup) image.\n\nTemporal also optionally also supports Elasticsearch for [visibility](https://docs.temporal.io/self-hosted-guide/visibility). \n\nFor more sample `docker-compose` files, refer to the [docker-compose](https://github.com/temporalio/docker-compose) Github repository.\n\nYou can also [Sign up for Temporal Cloud](https://temporal.io/get-cloud), ask questions in our [community Slack](https://temporal.io/community), [schedule time with an expert](https://pages.temporal.io/ask-an-expert), or dive into our [documentation](https://docs.temporal.io/cloud).\n\nTo configure this deployment, refer to this list of environment variables:\n\n\u0026nbsp;\n\n### General Environment Variables\n\n| Name | Description | Default Value |\n| --- | --- | --- |\n| `DB` | Specifies the type of database you're connecting to. Allowed values are `cassandra`, `mysql8`, and `postgres12`. | `cassandra` |\n\n### Cassandra Environment Variables\n\n| Name | Description | Default Value |\n| --- | --- | --- |\n| `KEYSPACE` | Specifies the name of your Cassandra keyspace. | `temporal` |\n| `CASSANDRA_SEEDS` | Specifies your Cassndra hostname. | unset |\n| `CASSANDRA_PORT` | Specifies the port to connect to Cassandra on. | 9042 |\n| `CASSANDRA_USER` | Specifies your Cassandra username. | unset |\n| `CASSANDRA_PASSWORD` | Specifies your Cassandra password. | unset |\n| `CASSANDRA_TLS_ENABLED` | Specifies whether you are using TLS to connect to Cassandra. | `false` |\n| `CASSANDRA_CERT` | Specifies the path to your Cassandra security certificate, if you are using TLS. | unset |\n| `CASSANDRA_CERT_DATA` | Allows you to pass a Cassandra security certificate as an object rather than a file path. | unset |\n| `CASSANDRA_CERT_KEY` | Specifies the path to your Cassandra security certificate key, if you are using TLS. | unset |\n| `CASSANDRA_CERT_KEY_DATA` | Allows you to pass a Cassandra security certificate key as an object rather than a file path. | unset |\n| `CASSANDRA_CA` | Specifies the path to your Cassandra security certificate authority, if needed. | unset |\n| `CASSANDRA_CA_DATA` | Allows you to pass a Cassandra security certificate authority as an object rather than a file path. | unset |\n| `CASSANDRA_HOST_VERIFICATION` | Specifies whether Cassandra should perform host key verification. | `false` |\n| `CASSANDRA_HOST_NAME` | Specifies the hostname of your Cassandra DB. | unset |\n| `CASSANDRA_ADDRESS_TRANSLATOR` | Cassandra drivers have an AddressTranslator interface that can translate IP addresses received from Cassandra nodes into locally queriable addresses. | unset |\n| `CASSANDRA_ADDRESS_TRANSLATOR_OPTIONS` | Allows you to specify AddressTranslator [options](https://github.com/pingidentity/cassandra-spring-boot-starter/blob/master/README.md) | unset |\n\n### MySQL/PostgreSQL Environment Variables\n\n| Name | Description | Default Value |\n| --- | --- | --- |\n| `DBNAME` | Specifies the name of your MySQL / Postgres database. | `temporal` |\n| `VISIBILITY_DBNAME` | Specifies the name of your MySQL / Postgres visibility database, separate from the main Temporal database. | `temporal_visibility` |\n| `VISIBILITY_DB_PORT` | Specifies the port to connect to MySQL/PostgrSQL on for your visibility database. | `3306` for MySQL, `5432` for Postgres |\n| `VISIBILITY_MYSQL_SEEDS` | Specifies your MySQL hostname for your visibility database. | unset |\n| `VISIBILITY_MYSQL_USER` | Specifies your MySQL username for your visibility database. | unset |\n| `VISIBILITY_MYSQL_PWD` | Specifies your MySQL password for your visibility database. | unset |\n| `VISIBILITY_POSTGRES_SEEDS` | Specifies your PostgreSQL hostname for your visibility database. | unset |\n| `VISIBILITY_POSTGRES_USER` | Specifies your PostgreSQL username for your visibility database. | unset |\n| `VISIBILITY_POSTGRES_PWD` | Specifies your PostgreSQL password for your visibility database. | unset |\n| `DB_PORT` | Specifies the port to connect to MySQL/PostgreSQL on. | `3306` for MySQL, `5432` for Postgres |\n| `MYSQL_SEEDS` | Specifies your MySQL hostname. | unset |\n| `MYSQL_USER` | Specifies your MySQL username. | unset |\n| `MYSQL_PWD` | Specifies your MySQL password. | unset |\n| `MYSQL_TX_ISOLATION_COMPAT` | Enables compatibility with pre-5.7.20 MySQL installations, if needed. | `false` |\n| `SQL_VIS_MAX_CONNS` | This variables specifies the maximum allowed active connections to your visibility database. | `10` |\n| `SQL_VIS_MAX_IDLE_CONNS` | This variables specifies the maximum allowed idle connections to your visibility database. | `10` |\n| `SQL_VIS_MAX_CONN_TIME` | Specifies how long connections to your visibility database are allowed to remain open. | `1h` |\n| `SQL_MAX_CONNS` | This variables specifies the maximum allowed active database connections. | `20` |\n| `SQL_MAX_IDLE_CONNS` | This variables specifies the maximum allowed idle database connections. | `20` |\n| `SQL_MAX_CONN_TIME` | Specifies how long connections to your database are allowed to remain open. | `1h` |\n| `SQL_TLS_ENABLED` | This variale specifies whether you use TLS to connect to your SQL database. | `false` |\n| `SQL_CA` | Specifies the path to your SQL security certificate authority, if needed. | unset |\n| `SQL_CERT` | Specifies the path to your SQL security certificate, if needed. | unset |\n| `SQL_CERT_KEY` | Specifies the path to your SQL security certificate key, if needed. | unset |\n| `SQL_HOST_VERIFICATION` | Specifies whether your SQL database connection should perform hostname verification. | `false` |\n| `SQL_HOST_NAME` | Specifies which hostname your database connection should validate against when using TLS. | unset |\n| `POSTGRES_SEEDS` | Specifies your Postgres hostname. | unset |\n| `POSTGRES_USER` | Specifies your PostgreSQL username. | unset |\n| `POSTGRES_PWD` | Specifies your PostgreSQL password. | unset |\n| `POSTGRES_TLS_ENABLED` | Specifies whether you are using TLS to connect to Postgres. | `false` |\n| `POSTGRES_TLS_DISABLE_HOST_VERIFICATION` | Specifies whether Postgres should skip host key verification (e.g. if you can't easily verify server certs when using Amazon RDS). | `false` |\n| `POSTGRES_TLS_CERT_FILE` | Specifies the path to your Postgres security certificate, if you are using TLS. | unset |\n| `POSTGRES_TLS_KEY_FILE` | Specifies the path to your Postgres security certificate key, if you are using TLS. | unset |\n| `POSTGRES_TLS_CA_FILE` | Specifies the path to your Postgres security certificate authority, if needed. | unset |\n| `POSTGRES_TLS_SERVER_NAME` | Specifies the host of your Postgres TLS server, if needed. | unset |\n\n### Elasticsearch Environment Variables\n\n| Name | Description | Default Value |\n| --- | --- | --- |\n| `ENABLE_ES` | Specifies whether you are using Elasticsearch. | `false` |\n| `ES_SCHEME` | Specifies how you are connecting to Elasticsearch. Allowed values are `http` and `https`. | `http` |\n| `ES_SEEDS` | Specifies a comma-separated list of Elasticsearch nodes. | unset |\n| `ES_PORT` | Specifies the port to connect to Elasticsearch on. | `9200` |\n| `ES_USER` | Specifies your Elasticsearch username. | unset |\n| `ES_PWD` | Specifies your Elasticsearch password. | unset |\n| `ES_VERSION` | Specifies your Elasticsearch version. | `v7` |\n| `ES_VIS_INDEX` | Specifies the name of your Elasticsearch index. | `temporal_visibility_v1_dev` |\n| `ES_SEC_VIS_INDEX` | Specifies the name of your [secondary visibility](https://docs.temporal.io/self-hosted-guide/visibility#dual-visibility) Elasticsearch index. | unset |\n\n### Server Configuration Environment Variables\n\n| Name | Description | Default Value |\n| --- | --- | --- |\n| `BIND_ON_IP` | Specifies the IP address that the Temporal frontend service should be available on. | `127.0.0.1` / localhost |\n| `TEMPORAL_BROADCAST_ADDRESS` | Needs to be specified when the IP Address used by connecting clients is different than your `BIND_ON_IP`, such as when you are listening on 0.0.0.0 or using a proxy IP address. | unset |\n| `PPROF_PORT` | If specified, will initialize [pprof](https://github.com/google/pprof) upon process start on the listed port. | `0` |\n| `TEMPORAL_TLS_REFRESH_INTERVAL` | Specifies how often to refresh TLS certificates. | `0s` |\n| `TEMPORAL_TLS_EXPIRATION_CHECKS_CHECK_INTERVAL` | Specifies how often TLS certificates should be checked for expiration. | `0s` |\n| `TEMPORAL_TLS_EXPIRATION_CHECKS_WARNING_WINDOW` | Specifies the window within which pending TLS expiration should trigger a warning. | `0s` |\n| `TEMPORAL_TLS_EXPIRATION_CHECKS_ERROR_WINDOW` | Specifies the window within which pending TLS expiration should throw an error. | `0s` |\n| `TEMPORAL_TLS_REQUIRE_CLIENT_AUTH` | Specifies whether Temporal clients (including all Workers, CLI and SDK code) are required to authenticate via TLS. | `false` |\n| `TEMPORAL_TLS_SERVER_CERT` | Specifies the path to your Temporal security certificate, if you are using TLS. | unset |\n| `TEMPORAL_TLS_SERVER_CERT_DATA` | Allows you to pass a Temporal security certificate as an object rather than a file path. | unset |\n| `TEMPORAL_TLS_SERVER_KEY` | Specifies the path to your Temporal security certificate key, if you are using TLS. | unset |\n| `TEMPORAL_TLS_SERVER_KEY_DATA` | Allows you to pass a Temporal security certificate key as an object rather than a file path. | unset |\n| `TEMPORAL_TLS_SERVER_CA_CERT` | Specifies the path to your Temporal security certificate authority, if needed. | unset |\n| `TEMPORAL_TLS_SERVER_CA_CERT_DATA` | Allows you to pass a Temporal security certificate authority as an object rather than a file path. | unset |\n| `TEMPORAL_TLS_INTERNODE_DISABLE_HOST_VERIFICATION` | Specifies whether Temporal should skip host key verification when connecting to an internode (e.g., the history or matching services). | `false` |\n| `TEMPORAL_TLS_INTERNODE_SERVER_NAME` | Specifies which hostname your internode connection should validate against when using TLS. | unset |\n| `TEMPORAL_TLS_FRONTEND_CERT` | Specifies the path to your frontend security certificate, if you are using TLS. | unset |\n| `TEMPORAL_TLS_FRONTEND_CERT_DATA` | Allows you to pass a frontend security certificate as an object rather than a file path. | unset |\n| `TEMPORAL_TLS_FRONTEND_KEY` | Specifies the path to your frontend security certificate key, if you are using TLS. | unset |\n| `TEMPORAL_TLS_FRONTEND_KEY_DATA` | Allows you to pass a frontend security certificate key as an object rather than a file path. | unset |\n| `TEMPORAL_TLS_FRONTEND_DISABLE_HOST_VERIFICATION` | Specifies whether the frontend should skip host key verification. | `false` |\n| `TEMPORAL_TLS_FRONTEND_SERVER_NAME` | Specifies which hostname your frontend should validate against when using TLS. | unset |\n| `TEMPORAL_TLS_CLIENT1_CA_CERT` | Specifies the TLS certificate that the frontend presents to external clients. | unset |\n| `TEMPORAL_TLS_CLIENT1_CA_CERT_DATA` | Allows you to pass a client security certificate as an object rather than a file path. | unset |\n| `TEMPORAL_TLS_CLIENT2_CA_CERT` | Allows you to specify an additional TLS certificate that the frontend presents to external clients. | unset |\n| `TEMPORAL_TLS_CLIENT2_CA_CERT_DATA` | Allows you to pass an additional client security certificate as an object rather than a file path. | unset |\n| `STATSD_ENDPOINT` | Allows you to specify an endpoint to connect to [statsd](https://github.com/statsd/statsd) for observability. | unset |\n| `PROMETHEUS_ENDPOINT` | Allows you to specify an endpoint to listen on for scrape requests from Prometheus, for observability. | unset |\n| `PROMETHEUS_TIMER_TYPE` | Specifies which [type of Prometheus metric](https://prometheus.io/docs/concepts/metric_types/) is used for timer metrics. | `histogram` |\n| `TEMPORAL_AUTH_AUTHORIZER` | Allows you to configure the [Authorizer](https://docs.temporal.io/self-hosted-guide/security#authorizer-plugin) plugin. | unset |\n| `TEMPORAL_AUTH_CLAIM_MAPPER` | Allows you to configure the [ClaimMapper](https://docs.temporal.io/self-hosted-guide/security#claim-mapper) plugin. | unset |\n| `TEMPORAL_JWT_KEY_SOURCE1` | Allows you to specify a JWT key source for a [ClaimMapper](https://docs.temporal.io/self-hosted-guide/security#default-jwt-claimmapper) integration. | unset |\n| `TEMPORAL_JWT_KEY_SOURCE2` | Allows you to specify another JWT key source for a ClaimMapper integration. | unset |\n| `TEMPORAL_JWT_KEY_REFRESH` | Specifies how frequently JWT keys should be refreshed. | `1m` |\n| `TEMPORAL_JWT_PERMISSIONS_CLAIM` | Specifies the property name of your JWT permissions claim. | `permissions` |\n| `FRONTEND_GRPC_PORT` | Specifies the port that Temporal's frontend service GRPC endpoint is available on. | `7233` |\n| `FRONTEND_HTTP_PORT` | Specifies the port that Temporal's frontend service HTTP endpoint is available on. | `7243` |\n| `FRONTEND_MEMBERSHIP_PORT` | Specifies the port that Temporal's frontend service membership endpoint is available on. | `6933` |\n| `INTERNAL_FRONTEND_GRPC_PORT` | Specifies the port that Temporal's frontend service internal GRPC endpoint is available on. | `7236` |\n| `INTERNAL_FRONTEND_MEMBERSHIP_PORT` | Specifies the port that Temporal's frontend service internal membership endpoint is available on. | `6936` |\n| `MATCHING_GRPC_PORT` | Specifies the port that Temporal's matching service GRPC endpoint is available on. | `7235` |\n| `MATCHING_MEMBERSHIP_PORT` | Specifies the port that Temporal's matching service membership endpoint is available on. | `6935` |\n| `HISTORY_GRPC_PORT` | Specifies the port that Temporal's history service GRPC endpoint is available on. | `7234` |\n| `HISTORY_MEMBERSHIP_PORT` | Specifies the port that Temporal's history service membership endpoint is available on. | `6934` |\n| `WORKER_GRPC_PORT` | Specifies the port that Temporal's worker service GRPC endpoint is available on. | `7239` |\n| `WORKER_MEMBERSHIP_PORT` | Specifies the port that Temporal's worker service membership endpoint is available on. | `6939` |\n| `USE_INTERNAL_FRONTEND` | Specifies whether to deploy an additional [internal frontend](https://github.com/temporalio/temporal/releases/tag/v1.20.0) service, needed for some auth configurations. | unset |\n| `PUBLIC_FRONTEND_ADDRESS` | Can be used to override the public frontend address derived from `BIND_ON_IP` and ``FRONTEND_GRPC_PORT`. | unset |\n| `DYNAMIC_CONFIG_FILE_PATH` | Specifies the path to a YAML file that [dynamic configuration](https://docs.temporal.io/references/dynamic-configuration) keys can be read from. | `/etc/temporal/config/dynamicconfig/docker.yaml` |\n\n\u003cimg referrerpolicy=\"no-referrer-when-downgrade\" src=\"https://static.scarf.sh/a.png?x-pxid=f619da55-b0e7-4913-be84-7872558f7b6c\" /\u003e","permissions":{"read":true,"write":false,"admin":false},"media_types":["application/vnd.docker.container.image.v1+json","application/vnd.docker.distribution.manifest.list.v2+json","application/vnd.oci.image.index.v1+json"],"content_types":["image"],"categories":[],"immutable_tags_settings":{"enabled":false,"rules":[".*"]},"storage_size":120552069715,"source":null}