bunkerweb/tests/core/headers/docker-compose.test.yml

32 lines
1.7 KiB
YAML
Raw Normal View History

2023-05-15 00:57:58 +00:00
version: "3.5"
services:
tests:
build: .
environment:
PYTHONUNBUFFERED: "1"
GENERATE_SELF_SIGNED_SSL: "no"
CUSTOM_HEADER: ""
REMOVE_HEADERS: "Server X-Powered-By X-AspNet-Version X-AspNetMvc-Version"
2024-06-25 11:19:48 +00:00
KEEP_UPSTREAM_HEADERS: "Content-Security-Policy X-Frame-Options"
2024-06-24 16:18:48 +00:00
STRICT_TRANSPORT_SECURITY: "max-age=31536000; includeSubDomains; preload"
2023-05-15 00:57:58 +00:00
COOKIE_FLAGS: "* HttpOnly SameSite=Lax"
COOKIE_AUTO_SECURE_FLAG: "yes"
CONTENT_SECURITY_POLICY: "object-src 'none'; form-action 'self'; frame-ancestors 'self';"
2024-06-25 11:19:48 +00:00
CONTENT_SECURITY_POLICY_REPORT_ONLY: "no"
2023-05-15 00:57:58 +00:00
REFERRER_POLICY: "strict-origin-when-cross-origin"
2024-06-24 16:18:48 +00:00
PERMISSIONS_POLICY: "accelerometer=(), ambient-light-sensor=(), attribution-reporting=(), autoplay=(), battery=(), bluetooth=(), browsing-topics=(), camera=(), compute-pressure=(), display-capture=(), document-domain=(), encrypted-media=(), execution-while-not-rendered=(), execution-while-out-of-viewport=(), fullscreen=(), gamepad=(), geolocation=(), gyroscope=(), hid=(), identity-credentials-get=(), idle-detection=(), local-fonts=(), magnetometer=(), microphone=(), midi=(), otp-credentials=(), payment=(), picture-in-picture=(), publickey-credentials-create=(), publickey-credentials-get=(), screen-wake-lock=(), serial=(), speaker-selection=(), storage-access=(), usb=(), web-share=(), window-management=(), xr-spatial-tracking=()"
2023-05-15 00:57:58 +00:00
X_FRAME_OPTIONS: "SAMEORIGIN"
X_CONTENT_TYPE_OPTIONS: "nosniff"
X_XSS_PROTECTION: "1; mode=block"
2024-06-25 11:19:48 +00:00
X_DNS_PREFETCH_CONTROL: "off"
2023-05-15 00:57:58 +00:00
extra_hosts:
- "www.example.com:192.168.0.2"
networks:
bw-services:
ipv4_address: 192.168.0.3
networks:
bw-services:
external: true