removed host (for now)

This commit is contained in:
2024-12-17 11:58:54 +01:00
parent 39380d2d08
commit fa18e2ed7f

View File

@@ -1,34 +1,40 @@
services: services:
nats: nats:
image: nats:alpine image: nats:alpine
container_name: nats container_name: nats
restart: always restart: always
network_mode: bridge command: -c /etc/nats/nats.conf
command: -c /etc/nats/nats.conf ports:
ports: - "4222:4222" # client port
- "4222:4222" # client port - "8222:8222" # monitoring port
- "8222:8222" # monitoring port volumes:
volumes: - ./nats-leaf.conf:/etc/nats/nats.conf
- ./nats-leaf.conf:/etc/nats/nats.conf # networks:
# - internal
wasmcloud:
image: ghcr.io/wasmcloud/wasmcloud:1.4.0 # wasmcloud:
container_name: wasmcloud # image: ghcr.io/wasmcloud/wasmcloud:1.4.0
network_mode: bridge # container_name: wasmcloud
restart: always # restart: always
environment: # environment:
- WASMCLOUD_NATS_HOST=192.168.2.1 # - WASMCLOUD_NATS_HOST=nats
- WASMCLOUD_NATS_PORT=4222 # - WASMCLOUD_NATS_PORT=4222
- WASMCLOUD_RPC_TIMEOUT_MS=4000 # - WASMCLOUD_RPC_TIMEOUT_MS=4000
- WASMCLOUD_LABEL_host-type=edge # - WASMCLOUD_LABEL_host-type=edge
- WASMCLOUD_STRUCTURED_LOGGING_ENABLED=false # - WASMCLOUD_STRUCTURED_LOGGING_ENABLED=false
- WASMCLOUD_LOG_LEVEL=INFO # - WASMCLOUD_LOG_LEVEL=INFO
- WASMCLOUD_JS_DOMAIN=default # - WASMCLOUD_JS_DOMAIN=default
- WASMCLOUD_LATTICE=default # - WASMCLOUD_LATTICE=default
- WASMCLOUD_LATTICE_PREFIX=default # - WASMCLOUD_LATTICE_PREFIX=default
- WASMCLOUD_CTL_TOPIC_PREFIX=wasmbus.ctl # - WASMCLOUD_CTL_TOPIC_PREFIX=wasmbus.ctl
- WASMCLOUD_SECRETS_TOPIC=wasmcloud.secrets # - WASMCLOUD_SECRETS_TOPIC=wasmcloud.secrets
ports: # ports:
- '8000:8000' # - '8000:8000'
depends_on: # depends_on:
- nats # - nats
# networks:
# - internal
# networks:
# internal:
# driver: bridge