Advertisement
y2kbug

Untitled

Nov 23rd, 2024
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.35 KB | None | 0 0
  1. services:
  2.   chromium:
  3.     image: lscr.io/linuxserver/chromium:latest
  4.     container_name: chromium
  5.     security_opt:
  6.      - seccomp:unconfined
  7.     environment:
  8.      - PUID=1000
  9.       - PGID=1000
  10.       - TZ=Asia/Tokyo
  11.       - DOCKER_MODS=linuxserver/mods:universal-package-install
  12.       - INSTALL_PACKAGES=fonts-noto-cjk
  13.       - CHROME_CLI=https://chat.openai.com
  14.     volumes:
  15.       - type: volume
  16.         source: chromium
  17.         target: /config
  18.     shm_size: "4gb"
  19.     network_mode: "service:gluetun"
  20.     depends_on:
  21.      - gluetun
  22.     restart: unless-stopped
  23.  
  24.   gluetun:
  25.     container_name: gluetun
  26.     image: qmcgaw/gluetun
  27.     cap_add:
  28.      - NET_ADMIN
  29.     devices:
  30.      - /dev/net/tun:/dev/net/tun
  31.     environment:
  32.      - TZ=Asia/Tokyo
  33.       - VPN_SERVICE_PROVIDER=mullvad
  34.       - VPN_TYPE=wireguard
  35.       - WIREGUARD_PRIVATE_KEY=${MULLVAD_WIREGUARD_PRIVATE_KEY}
  36.       - WIREGUARD_ADDRESSES=${MULLVAD_WIREGUARD_ADDRESSES}
  37.       - WIREGUARD_PERSISTENT_KEEPALIVE_INTERVAL=25s
  38.       - SERVER_COUNTRIES=${MULLVAD_WIREGUARD_COUNTRIES}
  39.       - SERVER_CITIES=${MULLVAD_WIREGUARD_CITIES}
  40.       - SERVER_HOSTNAMES=${MULLVAD_WIREGUARD_HOSTNAMES}
  41.     volumes:
  42.       - type: volume
  43.         source: gluetun
  44.         target: /gluetun
  45.     ports:
  46.      - "3333:3000/tcp" # Chromium
  47.     restart: unless-stopped
  48.  
  49. volumes:
  50.   chromium:
  51.  gluetun:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement