0
0
opnxng-deploy-playbook/templates/compose/firefox.yaml.j2
2024-06-09 16:33:28 +08:00

38 lines
1.0 KiB
Django/Jinja

# {{ ansible_managed }}
version: "3.8"
services:
firefox:
image: lscr.io/linuxserver/firefox:latest
container_name: firefox
security_opt:
- seccomp:unconfined #optional
#- no-new-privileges
environment:
- PUID=1000
- PGID=1000
- TZ=Asia/Singapore
- TITLE=GPT
- CUSTOM_PORT=8893
volumes:
- {{ docker_dir }}/firefox:/config:rw
- {{ docker_dir }}/firefox/start.sh:/custom-cont-init.d/start.sh
- {{ docker_dir }}/firefox/fly:/config/.fly
- {{ docker_dir }}/firefox/profile:/config/.mozilla/firefox
# - {{ docker_dir }}/firefox/index.html:/usr/share/kasmvnc/www/index.html
# - {{ docker_dir }}/firefox/vnc.html:/usr/share/kasmvnc/www/vnc.html
# - {{ docker_dir }}/firefox/style.bundle.css:/usr/share/kasmvnc/www/dist/style.bundle.css
# devices:
# - /dev/dri:/dev/dri
ports:
- '8893:8893'
shm_size: "2gb"
restart: unless-stopped
networks:
- firefox
networks:
firefox:
name: firefox