Skip to content

Commit

Permalink
chore: split the ws service in mac (#498)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkanoor authored Nov 8, 2023
1 parent ef1b5e9 commit 85e9635
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion tools/docker/docker-compose-mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 85e9635

Please sign in to comment.