Update Docker & Kubernetes/Docker/Docker Compose/Firefox.md

This commit is contained in:
2024-07-14 17:34:13 -06:00
parent 2a4980cc6f
commit 42a39b961b

View File

@ -5,24 +5,18 @@
version: '3'
services:
firefox:
image: jlesage/firefox # Docker image for Firefox
environment:
- TZ=America/Denver
image: jlesage/firefox
- TZ=America/Denver # Timezone setting
- DARK_MODE=1 # Enable dark mode
- WEB_AUDIO=1 # Enable web audio
- KEEP_APP_RUNNING=1 # Keep the application running
ports:
- "5800:5800" # VNC WebUI
- "5800:5800" # Port mapping for VNC WebUI
volumes:
- /srv/containers/firefox:/config:rw
restart: always
networks:
docker_network:
ipv4_address: 192.168.5.4
networks:
default:
external:
name: docker_network
docker_network:
external: true
- /srv/containers/firefox:/config:rw # Persistent storage for configuration
restart: always # Always restart the container in case of failure
network_mode: host # Use the host network
```
```jsx title=".env"