-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #351 from target/no-build-support
Add docker-compose-no-build.yaml for precompiled images
- Loading branch information
Showing
4 changed files
with
326 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,111 @@ | ||
version: '2' | ||
|
||
networks: | ||
net: | ||
|
||
volumes: | ||
logs: | ||
|
||
services: | ||
frontend: | ||
image: ghcr.io/target/strelka/frontend:20230324 | ||
command: strelka-frontend | ||
ports: | ||
- 57314:57314 # must match the port in frontend.yaml | ||
networks: | ||
- net | ||
volumes: | ||
- ../configs/go/frontend/:/etc/strelka/:ro | ||
- logs:/var/log/strelka/ | ||
restart: unless-stopped | ||
container_name: strelka_frontend_1 | ||
depends_on: | ||
- coordinator | ||
- gatekeeper | ||
|
||
backend: | ||
image: ghcr.io/target/strelka/backend:20230324 | ||
command: strelka-backend | ||
shm_size: 512mb # increase as necessary, required for some scanners | ||
networks: | ||
- net | ||
volumes: | ||
- ../configs/python/backend/:/etc/strelka/:ro | ||
restart: unless-stopped | ||
container_name: strelka_backend_1 | ||
depends_on: | ||
- coordinator | ||
|
||
manager: | ||
image: ghcr.io/target/strelka/manager:20230324 | ||
command: strelka-manager | ||
restart: unless-stopped | ||
container_name: strelka_manager_1 | ||
networks: | ||
- net | ||
volumes: | ||
- ../configs/go/manager/:/etc/strelka/:ro | ||
depends_on: | ||
- coordinator | ||
|
||
mmrpc: | ||
image: ghcr.io/target/strelka/mmrpc:20230324 | ||
command: strelka-mmrpc --threads 2 --address [::]:33907 | ||
container_name: strelka_mmrpc_1 | ||
networks: | ||
- net | ||
|
||
coordinator: | ||
image: redis:alpine | ||
command: redis-server --save "" --appendonly no # alt: use config file via volume mapping | ||
container_name: strelka_coordinator_1 | ||
networks: | ||
- net | ||
|
||
gatekeeper: | ||
image: redis:alpine | ||
command: redis-server --save "" --appendonly no --maxmemory-policy allkeys-lru # alt: use config file via volume mapping | ||
container_name: strelka_gatekeeper_1 | ||
networks: | ||
- net | ||
|
||
jaeger: | ||
image: jaegertracing/all-in-one:1.42 | ||
container_name: strelka_jaeger_1 | ||
restart: unless-stopped | ||
environment: | ||
- COLLECTOR_OTLP_ENABLED=true | ||
networks: | ||
- net | ||
ports: | ||
- 16686:16686 # HTTP query frontend UI | ||
- 6831:6831/udp # UDP agent accept jaeger.thrift over Thrift-compact protocol (used by most SDKs) | ||
- 4317:4317 # HTTP collector accept OpenTelemetry Protocol (OTLP) over gRPC | ||
- 4318:4318 # HTTP collector accept OpenTelemetry Protocol (OTLP) over HTTP | ||
- 14268:14268 # HTTP collector accept jaeger.thrift | ||
|
||
ui: | ||
image: ghcr.io/target/strelka-ui/strelka-ui:20230221 | ||
container_name: strelka_ui_1 | ||
environment: | ||
- DATABASE_HOST=strelka_postgresdb_1 | ||
- DATABASE_NAME=strelka_ui | ||
- DATABASE_PASSWORD=postgres | ||
- DATABASE_USERNAME=postgres | ||
- STRELKA_HOST=strelka_frontend_1 | ||
networks: | ||
- net | ||
ports: | ||
- "9980:8080" | ||
depends_on: | ||
- postgresdb | ||
|
||
postgresdb: | ||
image: docker.io/bitnami/postgresql:11 | ||
container_name: strelka_postgresdb_1 | ||
environment: | ||
- POSTGRESQL_DATABASE=strelka_ui | ||
- POSTGRESQL_PASSWORD=postgres | ||
- POSTGRESQL_USERNAME=postgres | ||
networks: | ||
- net |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.