# This docker-compose file loads # nats with JetStream enabled # a local OCI registry # redis (for the kvredis capability provider) # wasmcloud_host version: "3" services: nats: image: nats:2.7.2-alpine ports: - "4222:4222" - "6222:6222" - "8222:8222" command: [ "-js" ] redis: image: redis:6.2 ports: - "6379:6379" registry: image: registry:2.7 ports: - "5000:5000" wasmcloud: image: wasmcloud/wasmcloud_host:latest environment: WASMCLOUD_RPC_HOST: nats WASMCLOUD_CTL_HOST: nats WASMCLOUD_PROV_RPC_HOST: nats ports: - "4000:4000" - "8080-8089:8080-8089" # Allows exposing examples on ports 8080-8089