Merged in feature/local-pdp (pull request #208)
permit.io local pdp * docs and testing * build fix * docs * permit rights * accept self signed certs * fix eula error
This commit is contained in:
@@ -263,12 +263,17 @@ services:
|
||||
condition: service_healthy
|
||||
db:
|
||||
condition: service_healthy
|
||||
permit_pdp:
|
||||
condition: service_healthy
|
||||
ports:
|
||||
- "8080:8080"
|
||||
- "2345:2345"
|
||||
expose:
|
||||
- 8080
|
||||
- 2345
|
||||
env_file:
|
||||
- path: permit.env
|
||||
required: false
|
||||
environment:
|
||||
LOG_LEVEL: DEBUG
|
||||
DEBUG: true
|
||||
@@ -293,8 +298,7 @@ services:
|
||||
COGNITO_DOMAIN: ${COGNITO_DOMAIN}
|
||||
COGNITO_CLIENT_ID: ${COGNITO_CLIENT_ID}
|
||||
COGNITO_REGION: ${COGNITO_REGION}
|
||||
PERMIT_IO_API_KEY: ${PERMIT_IO_API_KEY}
|
||||
PERMIT_IO_PDP_URL: ${PERMIT_IO_PDP_URL}
|
||||
PERMIT_IO_PDP_URL: http://permit_pdp:7000
|
||||
PERMIT_IO_TENANT: ${PERMIT_IO_TENANT}
|
||||
BUCKET: ${BUCKET_IN}
|
||||
networks:
|
||||
@@ -372,6 +376,24 @@ services:
|
||||
networks:
|
||||
- server-network
|
||||
|
||||
permit_pdp:
|
||||
image: permitio/pdp-v2:0.9.9
|
||||
ports:
|
||||
- "7766:7000"
|
||||
expose:
|
||||
- 7000
|
||||
env_file:
|
||||
- path: permit.env
|
||||
required: false
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--spider", "-q", "http://localhost:7000/health"]
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 10
|
||||
start_period: 10s
|
||||
networks:
|
||||
- server-network
|
||||
|
||||
prometheus:
|
||||
image: prom/prometheus:latest
|
||||
ports:
|
||||
|
||||
Reference in New Issue
Block a user