-
Notifications
You must be signed in to change notification settings - Fork 11
/
firefox.yml
51 lines (50 loc) · 1.79 KB
/
firefox.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# https://hub.docker.com/r/jlesage/firefox/
version: "3.7"
networks:
traefik:
name: traefik
services:
firefox:
image: jlesage/firefox
container_name: firefox
environment:
- USER_ID=1000
- GROUP_ID=1000
- TZ=${TZ}
- KEEP_APP_RUNNING=1
- CLEAN_TMP_DIR=1
- DISPLAY_WIDTH=1600
- DISPLAY_HEIGHT=960
networks:
traefik:
dns:
- 192.168.1.1
volumes:
- ${USERDIR}/firefox:/config
- /dev/shm:/dev/shm
# ports:
# - "5800:5800"
labels:
traefik.enable: "true"
traefik.docker.network: traefik
traefik.backend: firefox
traefik.protocol: http
traefik.port: 5800
traefik.frontend.rule: Host:firefox.${DOMAINNAME}
traefik.frontend.auth.forward.address: http://traefik-forward-auth:4181
traefik.frontend.auth.forward.authResponseHeaders: X-Forwarded-User
traefik.frontend.auth.forward.trustForwardHeader: "true"
traefik.frontend.passHostHeader: "true"
traefik.frontend.headers.SSLForceHost: "true"
traefik.frontend.headers.SSLHost: firefox.${DOMAINNAME}
traefik.frontend.headers.SSLRedirect: "true"
traefik.frontend.headers.browserXSSFilter: "true"
traefik.frontend.headers.contentTypeNosniff: "true"
traefik.frontend.headers.forceSTSHeader: "true"
traefik.frontend.headers.STSSeconds: 315360000
traefik.frontend.headers.STSIncludeSubdomains: "true"
traefik.frontend.headers.STSPreload: "true"
traefik.frontend.headers.customResponseHeaders: X-Robots-Tag:noindex,nofollow,nosnippet,noarchive,notranslate,noimageindex
traefik.frontend.headers.frameDeny: "true"
traefik.frontend.headers.customFrameOptionsValue: 'allow-from https:${DOMAINNAME}'
restart: always