Compose-Examples/examples/firefox/docker-compose.yml

33 lines
874 B
YAML
Raw Normal View History

2023-02-25 14:04:52 +00:00
services:
2023-02-25 14:04:52 +00:00
firefox:
image: lscr.io/linuxserver/firefox:latest
container_name: firefox
hostname: firefox
restart: unless-stopped
security_opt:
- seccomp:unconfined # optional
environment:
- PUID=1000 # optional
- PGID=1000 # optional
- TZ=Europe/Berlin
volumes:
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/firefox/config:/config
ports:
- 3210:3000
expose:
- 3000
2023-02-25 14:04:52 +00:00
#networks:
# - proxy
#labels:
# - traefik.enable=true
# - traefik.http.routers.firefox.rule=Host(`firefox.example.com`)
# - traefik.http.services.firefox.loadbalancer.server.port=8080
# - traefik.docker.network=proxy
# # Part for optional traefik middlewares
# - traefik.http.routers.firefox.middlewares=local-ipwhitelist@file,basic-auth@file
#networks:
# proxy:
# external: true