How to enable s3 archival in cadence 0.13

Looks like there are no hooks provided in our existing config_template.yaml for docker image to override defaults for archival config. Filed a feature to add support for overriding archival config.

If you are running Temporal using docker-compose then by default it brings up the server with archival turned on using file based archival config. I just filed an issue to disable it by default and have a separate docker-compose-archival.yaml for folks who want to try it out with archival turned on.

In the meantime you have to update the following 2 sections in the server config manually to override archival config:

archival:
  history:
    state: "enabled"
    enableRead: true
    provider:
      s3store:
        region: ...
        endpoint: ...
  visibility:
    state: "enabled"
    enableRead: true
    provider:
      s3store:
        region: ...
        endpoint: ...

namespaceDefaults:
  archival:
    history:
      state: "enabled"
      URI: ...
    visibility:
      state: "enabled"
      URI: ...