Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion docker-examples/docker-compose-postgres.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ services:
golem-shard-manager:
image: golemservices/golem-shard-manager:latest
pull_policy: always
restart: on-failure
environment:
- WASMTIME_BACKTRACE_DETAILS=1
- RUST_BACKTRACE=1
Expand All @@ -58,6 +59,7 @@ services:
golem-component-service:
image: golemservices/golem-component-service:latest
pull_policy: always
restart: on-failure
environment:
- ENVIRONMENT=local
- WASMTIME_BACKTRACE_DETAILS=1
Expand Down Expand Up @@ -91,6 +93,7 @@ services:
golem-worker-service:
image: golemservices/golem-worker-service:latest
pull_policy: always
restart: on-failure
environment:
- RUST_BACKTRACE=1
- RUST_LOG=info,h2=warn,hyper=warn,tower=warn
Expand Down Expand Up @@ -121,10 +124,19 @@ services:
depends_on:
postgres:
condition: service_healthy
redis:
condition: service_started
golem-worker-executor:
condition: service_started
golem-component-service:
condition: service_started
golem-shard-manager:
condition: service_started

golem-component-compilation-service:
image: golemservices/golem-component-compilation-service:latest
pull_policy: always
restart: on-failure
environment:
- RUST_BACKTRACE=1
- RUST_LOG=info,h2=warn,hyper=warn,tower=warn
Expand All @@ -147,6 +159,7 @@ services:
golem-worker-executor:
image: golemservices/golem-worker-executor:latest
pull_policy: always
restart: on-failure
environment:
- ENVIRONMENT=local
- WASMTIME_BACKTRACE_DETAILS=1
Expand All @@ -173,14 +186,15 @@ services:
- GOLEM__PUBLIC_WORKER_API__PORT=${WORKER_SERVICE_GRPC_PORT}
- GOLEM__PUBLIC_WORKER_API__ACCESS_TOKEN="2A354594-7A63-4091-A46B-CC58D379F677"
- GOLEM__COMPILED_COMPONENT_SERVICE__TYPE="Enabled"

- GOLEM__SHARD_MANAGER_SERVICE__TYPE="Grpc"
volumes:
- worker_executor_store:/worker_executor_store
ports:
- "${WORKER_EXECUTOR_HTTP_PORT}:${WORKER_EXECUTOR_HTTP_PORT}"
depends_on:
- redis
- golem-shard-manager
- golem-component-service

volumes:
redis_data:
Expand Down
13 changes: 12 additions & 1 deletion docker-examples/docker-compose-sqlite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ services:
golem-shard-manager:
image: golemservices/golem-shard-manager:latest
pull_policy: always
restart: on-failure
environment:
- WASMTIME_BACKTRACE_DETAILS=1
- RUST_BACKTRACE=1
Expand All @@ -41,6 +42,7 @@ services:
golem-component-service:
image: golemservices/golem-component-service:latest
pull_policy: always
restart: on-failure
environment:
- ENVIRONMENT=local
- WASMTIME_BACKTRACE_DETAILS=1
Expand All @@ -67,6 +69,7 @@ services:
golem-worker-service:
image: golemservices/golem-worker-service:latest
pull_policy: always
restart: on-failure
environment:
- RUST_BACKTRACE=1
- RUST_LOG=info,h2=warn,hyper=warn,tower=warn
Expand All @@ -91,10 +94,16 @@ services:
- "${WORKER_SERVICE_GRPC_PORT}:${WORKER_SERVICE_GRPC_PORT}"
volumes:
- golem_db:/app/golem_db
depends_on:
- redis
- golem-worker-executor
- golem-component-service
- golem-shard-manager

golem-component-compilation-service:
image: golemservices/golem-component-compilation-service:latest
pull_policy: always
restart: on-failure
environment:
- RUST_BACKTRACE=1
- RUST_LOG=info,h2=warn,hyper=warn,tower=warn
Expand All @@ -117,6 +126,7 @@ services:
golem-worker-executor:
image: golemservices/golem-worker-executor:latest
pull_policy: always
restart: on-failure
environment:
- ENVIRONMENT=local
- WASMTIME_BACKTRACE_DETAILS=1
Expand All @@ -143,14 +153,15 @@ services:
- GOLEM__PUBLIC_WORKER_API__PORT=${WORKER_SERVICE_GRPC_PORT}
- GOLEM__PUBLIC_WORKER_API__ACCESS_TOKEN="2A354594-7A63-4091-A46B-CC58D379F677"
- GOLEM__COMPILED_COMPONENT_SERVICE__TYPE="Enabled"

- GOLEM__SHARD_MANAGER_SERVICE__TYPE="Grpc"
volumes:
- worker_executor_store:/worker_executor_store
ports:
- "${WORKER_EXECUTOR_HTTP_PORT}:${WORKER_EXECUTOR_HTTP_PORT}"
depends_on:
- redis
- golem-shard-manager
- golem-component-service

volumes:
redis_data:
Expand Down
Loading