Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,9 @@ services:
SPRING_FLYWAY_PASSWORD: local_dev # dev-only
SPRING_CLOUD_AWS_SQS_ENDPOINT: http://localstack:4566
SPRING_CLOUD_AWS_REGION_STATIC: us-east-1
USER_SERVICE_JWKS_URL: http://user-service:8081/.well-known/jwks.json
VIDEO_SERVICE_URL: http://video-service:8082
USER_SERVICE_URL: http://user-service:8081
healthcheck:
test: ["CMD", "wget", "-q", "--spider", "http://localhost:8085/actuator/health"]
interval: 10s
Expand All @@ -202,6 +205,10 @@ services:
condition: service_healthy
localstack:
condition: service_healthy
user-service:
condition: service_healthy
video-service:
condition: service_healthy
profiles:
- backend

Expand Down
6 changes: 5 additions & 1 deletion infra/docker/docker-compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -217,11 +217,13 @@ services:
SPRING_CLOUD_AWS_REGION_STATIC: ${AWS_REGION}
SPRING_CLOUD_AWS_CREDENTIALS_ACCESS_KEY: ""
SPRING_CLOUD_AWS_CREDENTIALS_SECRET_KEY: ""
SPRING_SECURITY_OAUTH2_RESOURCESERVER_JWT_JWK_SET_URI: http://user-service:8081/.well-known/jwks.json
USER_SERVICE_JWKS_URL: http://user-service:8081/.well-known/jwks.json
APP_SQS_VIDEO_EVENTS_QUEUE: ${SQS_PREFIX}-video-events
APP_SQS_USER_EVENTS_QUEUE: ${SQS_PREFIX}-user-events
APP_SQS_MODERATION_EVENTS_QUEUE: ${SQS_PREFIX}-moderation-events
APP_SQS_SEARCH_MODERATION_EVENTS_QUEUE: ${SQS_PREFIX}-search-moderation-events
VIDEO_SERVICE_URL: http://video-service:8082
USER_SERVICE_URL: http://user-service:8081
healthcheck:
test: ["CMD", "wget", "-q", "--spider", "http://localhost:8085/actuator/health"]
interval: 10s
Expand All @@ -231,6 +233,8 @@ services:
depends_on:
user-service:
condition: service_healthy
video-service:
condition: service_healthy
deploy:
resources:
limits:
Expand Down
Loading