46 lines
1.4 KiB
YAML
46 lines
1.4 KiB
YAML
networks:
|
|
traefik:
|
|
external: true
|
|
|
|
services:
|
|
firefox:
|
|
image: lscr.io/linuxserver/firefox:latest
|
|
# image: jlesage/firefox
|
|
environment:
|
|
# DISPLAY_WIDTH: '1280'
|
|
# DISPLAY_HEIGHT: '720'
|
|
# KEEP_APP_RUNNING: '1'
|
|
# KASM_PORT: 80
|
|
PUID: 1000
|
|
GUID: 1000
|
|
tmpfs:
|
|
- /tmp:size=2G
|
|
volumes:
|
|
# - '/mnt/tank/persist/nixc.us/marketing-browser/production/config:/config:rw'
|
|
- '/etc/localtime:/etc/localtime:ro'
|
|
# - "istock:/config/Downloads"
|
|
- type: tmpfs
|
|
target: /dev/shm
|
|
deploy:
|
|
# placement:
|
|
# constraints:
|
|
# - node.hostname == macmini1
|
|
replicas: 1
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.http.routers.istock_firefox.tls=true"
|
|
- "traefik.http.services.istock_firefox.loadbalancer.server.port=3000"
|
|
- "traefik.http.routers.istock_firefox.rule=Host(`marketing-browser.staging.nixc.us`)"
|
|
- "traefik.http.routers.istock_firefox.entrypoints=websecure"
|
|
- "traefik.http.routers.istock_firefox.tls.certresolver=letsencryptresolver"
|
|
- "traefik.http.routers.istock_firefox.service=istock_firefox"
|
|
- "traefik.docker.network=traefik"
|
|
- 'traefik.http.routers.istock_firefox.middlewares=authelia_authelia@docker'
|
|
networks:
|
|
- traefik
|
|
dns:
|
|
- 1.1.1.1
|
|
- 8.8.8.8
|
|
# volumes:
|
|
# istock:
|
|
# external: true |