mirror of
https://github.com/sartography/spiff-arena.git
synced 2025-01-12 18:44:14 +00:00
b8c7aa991d
* WIP * WIP * WIP * WIP * add socket handler for spiff events * standardize attributes of event log * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * Get tests to pass * Getting pyl to pass * Moving to regular socket * Try/catch * WIP * Getting dockerized * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * Its broken * WIP * WIP * WIP * Update event-stream/elasticsearch.py Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * Update event-stream/elasticsearch.py Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * Update event-stream/elasticsearch.py Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * Fix tests --------- Co-authored-by: Elizabeth Esswein <elizabeth.esswein@gmail.com> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Co-authored-by: Kevin Burnett <18027+burnettk@users.noreply.github.com>
45 lines
2.0 KiB
YAML
45 lines
2.0 KiB
YAML
|
|
services:
|
|
spiffworkflow-backend:
|
|
build:
|
|
context: spiffworkflow-backend
|
|
dockerfile: dev.Dockerfile
|
|
user: "${RUN_AS}"
|
|
environment:
|
|
FLASK_DEBUG: "1"
|
|
POETRY_VIRTUALENVS_IN_PROJECT: "true"
|
|
SPIFFWORKFLOW_BACKEND_DATABASE_URI: ""
|
|
SPIFFWORKFLOW_BACKEND_LOG_LEVEL: "INFO"
|
|
SPIFFWORKFLOW_BACKEND_ENV: "${SPIFFWORKFLOW_BACKEND_ENV:-local_development}"
|
|
SPIFFWORKFLOW_BACKEND_LOAD_FIXTURE_DATA: ""
|
|
SPIFFWORKFLOW_BACKEND_EVENT_STREAM_HOST: "${SPIFFWORKFLOW_BACKEND_EVENT_STREAM_HOST:-spiff-arena-event-stream-1}"
|
|
SPIFFWORKFLOW_BACKEND_EVENT_STREAM_PORT: "${SPIFFWORKFLOW_BACKEND_EVENT_STREAM_PORT:-8008}"
|
|
XDG_CACHE_HOME: "/app/.cache"
|
|
env_file:
|
|
- path: .env
|
|
required: false
|
|
volumes:
|
|
- ./spiffworkflow-backend:/app
|
|
event-stream:
|
|
build:
|
|
context: event-stream
|
|
dockerfile: elasticsearch.Dockerfile
|
|
user: "${RUN_AS}"
|
|
environment:
|
|
SPIFFWORKFLOW_EVENT_STREAM_HOST: "${SPIFFWORKFLOW_EVENT_STREAM_HOST:-0.0.0.0}"
|
|
SPIFFWORKFLOW_EVENT_STREAM_PORT: "${SPIFFWORKFLOW_EVENT_STREAM_PORT:-8008}"
|
|
SPIFFWORKFLOW_EVENT_STREAM_ELASTICSEARCH_HOST: "${SPIFFWORKFLOW_EVENT_STREAM_ELASTICSEARCH_HOST:-elasticsearch}"
|
|
SPIFFWORKFLOW_EVENT_STREAM_ELASTICSEARCH_PORT: "${SPIFFWORKFLOW_EVENT_STREAM_ELASTICSEARCH_PORT:-9200}"
|
|
SPIFFWORKFLOW_EVENT_STREAM_ELASTICSEARCH_USE_HTTPS: "${SPIFFWORKFLOW_EVENT_STREAM_ELASTICSEARCH_USE_HTTPS:-false}"
|
|
SPIFFWORKFLOW_EVENT_STREAM_ELASTICSEARCH_USERNAME: "${SPIFFWORKFLOW_EVENT_STREAM_ELASTICSEARCH_USERNAME:-elastic}"
|
|
SPIFFWORKFLOW_EVENT_STREAM_ELASTICSEARCH_PASSWORD: "${SPIFFWORKFLOW_EVENT_STREAM_ELASTICSEARCH_PASSWORD:-elastic}"
|
|
SPIFFWORKFLOW_EVENT_STREAM_ELASTICSEARCH_INDEX: "${SPIFFWORKFLOW_EVENT_STREAM_ELASTICSEARCH_INDEX:-spiffworkflow_event_stream}"
|
|
XDG_CACHE_HOME: "/app/.cache"
|
|
env_file:
|
|
- path: .env
|
|
required: false
|
|
ports:
|
|
- "${SPIFFWORKFLOW_EVENT_STREAM_PORT:-8008}:${SPIFFWORKFLOW_EVENT_STREAM_PORT:-8008}/tcp"
|
|
volumes:
|
|
- ./event-stream:/app
|