-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
35 lines (34 loc) · 1.61 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# If you're looking to use eventing with Google PubSub, to get an emulator running:
# - add property "-Dkalix.proxy.eventing.support=google-pubsub-emulator" to the JAVA_TOOL_OPTIONS environment map under the kalix-runtime service
# - uncomment the env var PUBSUB_EMULATOR_HOST and the section below for gcloud-pubsub-emulator service
version: "3"
services:
kalix-runtime:
container_name: kalix-runtime
image: gcr.io/kalix-public/kalix-runtime:1.1.33
ports:
- "9000:9000"
extra_hosts:
- "host.docker.internal:host-gateway"
environment:
TZ: UTC
JAVA_TOOL_OPTIONS: >
# jvm -D properties can be added under this environment map (note: remove this comment when adding properties)
USER_FUNCTION_HOST: ${USER_FUNCTION_HOST:-host.docker.internal}
USER_FUNCTION_PORT: ${USER_FUNCTION_PORT:-8080}
# Comment to enable ACL check in dev-mode (see https://docs.kalix.io/services/using-acls.html#_local_development_with_acls)
ACL_ENABLED: "false"
# Uncomment to enable advanced view features locally (note: disabled in deployed services by default)
VIEW_FEATURES_ALL: "true"
# Uncomment to disable the JWT dev secret
# JWT_DEV_SECRET: "false"
# Uncomment to set the JWT dev secret issuer
JWT_DEV_SECRET_ISSUER: "http://com.example/auth-service"
# Uncomment if using pubsub emulator
#PUBSUB_EMULATOR_HOST: gcloud-pubsub-emulator
#gcloud-pubsub-emulator:
# image: gcr.io/google.com/cloudsdktool/cloud-sdk:341.0.0
# command: gcloud beta emulators pubsub start --project=test --host-port=0.0.0.0:8085
# ports:
# - 8085:8085
#