custom fetch provider #343
Replies: 1 comment
-
Hi @abdullahalrifat can you include the logs for the sever and client? |
Beta Was this translation helpful? Give feedback.
-
Hi @abdullahalrifat can you include the logs for the sever and client? |
Beta Was this translation helpful? Give feedback.
-
Dockerfile
FROM permitio/opal-client:latest
WORKDIR /app/
COPY . ./
RUN python3 setup.py install --user
docker-compose.yml
opal-client:
build:
context: .
ports:
- "7001:7001" # OPAL Client
- "8181:8181" # OPA
environment:
OPAL_SERVER_URL: "http://opal_server:7002"
OPAL_POLICY_STORE_URL: "http://localhost:8181"
OPAL_FETCH_PROVIDER_MODULES: "opal_common.fetcher.providers, opal_fetcher_ceph.provider"
OPAL_CLIENT_TOKEN: ${OPAL_CLIENT_TOKEN}
OPAL_INLINE_OPA_LOG_FORMAT: "http"
OPAL_DATA_TOPICS: ${OPAL_DATA_TOPICS}
depends_on:
- opal_server
used the same setup.py as https://github.com/permitio/opal-fetcher-postgres in this repo just edited the provider.py
everytime i try to run the client it just exited automatically don't run the opal-client and OPA is there any thing i am missing?
folder structure
-opal_fetcher_ceph
- init.py # empty
- provider.py
Beta Was this translation helpful? Give feedback.
All reactions