Skip to content

Commit

Permalink
chore: split ws server in dev env (#495)
Browse files Browse the repository at this point in the history
Co-authored-by: Madhu Kanoor <[email protected]>
  • Loading branch information
Alex-Izquierdo and mkanoor authored Nov 16, 2023
1 parent 7c8f515 commit c3089f1
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion tools/docker/docker-compose-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ x-environment:
- DJANGO_SETTINGS_MODULE=${DJANGO_SETTINGS_MODULE:-aap_eda.settings.development}
- EDA_ALLOWED_HOSTS=['*']
- EDA_DEPLOYMENT_TYPE=${EDA_DEPLOYMENT_TYPE:-podman}
- EDA_WEBSOCKET_BASE_URL=${EDA_WEBSOCKET_BASE_URL:-ws://eda-api:8000}
- EDA_WEBSOCKET_BASE_URL=${EDA_WEBSOCKET_BASE_URL:-ws://eda-ws:8000}
- EDA_WEBSOCKET_SSL_VERIFY=no
- EDA_PODMAN_SOCKET_URL=tcp://podman:8888
- EDA_CONTROLLER_URL=${EDA_CONTROLLER_URL:-https://awx-example.com}
Expand Down Expand Up @@ -77,6 +77,23 @@ services:
volumes:
- '../../:/app/src:z'

eda-ws:
image: "${EDA_IMAGE:-quay.io/ansible/eda-server:main}"
environment: *common-env
command:
- /bin/bash
- -c
- >-
aap-eda-manage runserver 0.0.0.0:8000
ports:
- '8001:8000'
depends_on:
eda-api:
condition: service_healthy
volumes:
- '../../:/app/src:z'


eda-scheduler:
image: "${EDA_IMAGE:-localhost/aap-eda}"
environment: *common-env
Expand Down

0 comments on commit c3089f1

Please sign in to comment.