feat: add candidate profile, questionnaire and company forms
This commit is contained in:
1 parent
3a61a8e8bb
commit
f81cd0ae09
68 files changed
+9517
-54
No files matched your search
@@ -6,6 +6,8 @@ services:
|
||||
context: ../../backend
|
||||
dockerfile: Dockerfile.e2e
|
||||
environment:
|
||||
# Browser scenarios share one proxy address in this isolated stand.
|
||||
IDENTITY_CLIENT_HOURLY_LIMIT: "200"
|
||||
EMAIL_PROVIDER: resend
|
||||
EMAIL_ACCOUNT: e2e
|
||||
EMAIL_FROM: no-reply@example.com
|
||||
@@ -24,7 +26,48 @@ services:
|
||||
E2E_MAILBOX_URL: http://mail-fixture:8025/__e2e/inbox
|
||||
E2E_MAILBOX_TOKEN: local-e2e-mailbox-token
|
||||
E2E_MAIL_FIXTURE: "1"
|
||||
E2E_COMPANY_FIXTURE: "1"
|
||||
E2E_QUESTIONNAIRE_FIXTURE: "1"
|
||||
E2E_CONSENT_FIXTURE: "1"
|
||||
E2E_COMPANY_FIXTURE_URL: http://company-fixture:8081/company/memberships/revoke
|
||||
E2E_COMPANY_FIXTURE_TOKEN: ${E2E_COMPANY_FIXTURE_TOKEN:?Set the per-run company fixture token}
|
||||
|
||||
company-fixture:
|
||||
build:
|
||||
context: ../../backend
|
||||
dockerfile: Dockerfile.e2e
|
||||
entrypoint: ["/company-fixture"]
|
||||
environment:
|
||||
E2E_COMPANY_FIXTURE: "1"
|
||||
E2E_COMPANY_FIXTURE_TOKEN: ${E2E_COMPANY_FIXTURE_TOKEN:?Set the per-run company fixture token}
|
||||
DATABASE_URL: postgres://${POSTGRES_USER:?Set POSTGRES_USER}:${POSTGRES_PASSWORD:?Set POSTGRES_PASSWORD}@postgres:5432/${POSTGRES_DB:?Set POSTGRES_DB}?sslmode=disable
|
||||
expose:
|
||||
- "8081"
|
||||
read_only: true
|
||||
cap_drop: [ALL]
|
||||
security_opt: ["no-new-privileges:true"]
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
healthcheck:
|
||||
test: ["CMD", "/company-fixture", "healthcheck"]
|
||||
interval: 2s
|
||||
timeout: 3s
|
||||
retries: 15
|
||||
start_period: 2s
|
||||
stop_grace_period: 5s
|
||||
networks:
|
||||
- default
|
||||
logging:
|
||||
driver: json-file
|
||||
options:
|
||||
max-size: 1m
|
||||
max-file: "2"
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: "0.25"
|
||||
memory: 128M
|
||||
|
||||
mail-fixture:
|
||||
build:
|
||||
|
||||
Reference in new issue
Block a user