diff --git a/tools/docker/docker-compose-mac.yml b/tools/docker/docker-compose-mac.yml index a5e1a249d..bc00e52a0 100644 --- a/tools/docker/docker-compose-mac.yml +++ b/tools/docker/docker-compose-mac.yml @@ -7,7 +7,7 @@ x-environment: - EDA_SECRET_KEY=secret - EDA_ALLOWED_HOSTS=['*'] - EDA_DEPLOYMENT_TYPE=podman - - EDA_WEBSOCKET_BASE_URL=${EDA_WEBSOCKET_BASE_URL:-wss://host.containers.internal:8443} + - EDA_WEBSOCKET_BASE_URL=${EDA_WEBSOCKET_BASE_URL:-ws://host.containers.internal:8001} - EDA_WEBSOCKET_SSL_VERIFY=no - EDA_PODMAN_SOCKET_URL="unix:///run/podman/podman.sock" - EDA_CONTROLLER_URL=${EDA_CONTROLLER_URL:?Please specify EDA_CONTROLLER_URL env} @@ -54,6 +54,20 @@ services: volumes: - ${EDA_HOST_PODMAN_SOCKET_URL:-/run/user/501/podman/podman.sock}:/run/podman/podman.sock: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 + eda-default-worker: user: "${EDA_POD_USER_ID:-0}" deploy: