mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
31 lines
1.7 KiB
YAML
31 lines
1.7 KiB
YAML
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"
|
|
KEEP_UPSTREAM_HEADERS: "Content-Security-Policy X-Frame-Options"
|
|
STRICT_TRANSPORT_SECURITY: "max-age=31536000; includeSubDomains; preload"
|
|
COOKIE_FLAGS: "* HttpOnly SameSite=Lax"
|
|
COOKIE_AUTO_SECURE_FLAG: "yes"
|
|
CONTENT_SECURITY_POLICY: "object-src 'none'; form-action 'self'; frame-ancestors 'self';"
|
|
CONTENT_SECURITY_POLICY_REPORT_ONLY: "no"
|
|
REFERRER_POLICY: "strict-origin-when-cross-origin"
|
|
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=()"
|
|
X_FRAME_OPTIONS: "SAMEORIGIN"
|
|
X_CONTENT_TYPE_OPTIONS: "nosniff"
|
|
X_XSS_PROTECTION: "1; mode=block"
|
|
X_DNS_PREFETCH_CONTROL: "off"
|
|
extra_hosts:
|
|
- "www.example.com:192.168.0.2"
|
|
networks:
|
|
bw-services:
|
|
ipv4_address: 192.168.0.3
|
|
|
|
networks:
|
|
bw-services:
|
|
external: true
|