rootiest

transmission-wireguard-nginx

Dec 20th, 2021 (edited)
213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.54 KB | None | 0 0
  1. version: "2.1"
  2. services:
  3.   wireguard:
  4.     image: linuxserver/wireguard
  5.     container_name: wireguard
  6.     cap_add:
  7.      - NET_ADMIN
  8.       - SYS_MODULE
  9.     environment:
  10.      - PUID=1000
  11.       - PGID=1000
  12.       - TZ=America/New_York
  13.       - KILL_SWITCH=true                  # Turns off internet access if the VPN connection drops
  14.       - FORWARDED_PORTS=55844
  15.     volumes:
  16.      - ./config:/config
  17.       - /lib/modules:/lib/modules
  18.     ports:
  19.      - 51820:51820/udp
  20.       - 55844:55844/udp
  21.       - 55844:55844/tcp
  22.     sysctls:
  23.      - net.ipv4.conf.all.src_valid_mark=1
  24.     restart: unless-stopped
  25.     labels:
  26.      - "com.centurylinklabs.watchtower.enable=true"
  27.  
  28.   transmission:
  29.     image: linuxserver/transmission
  30.     container_name: transmission
  31.     environment:
  32.      - PUID=1000
  33.       - PGID=1000
  34.       - TZ=America/New_York
  35.       - TRANSMISSION_WEB_HOME=/combustion-release/
  36. #optional
  37.       - USER=user #optional
  38.       - PASS=password #optional
  39.     volumes:
  40.      - ./config:/config
  41.       - /path/to/Downloads:/downloads
  42.       - /path/to/Downloads/watch:/watch
  43.     network_mode: service:wireguard
  44.     restart: unless-stopped
  45.     labels:
  46.      - "com.centurylinklabs.watchtower.enable=true"
  47.  
  48.   nginx:
  49.     image: nginx
  50.     container_name: nginx
  51.     environment:
  52.      - PUID=1000
  53.       - PGID=1000
  54.       - TZ=Europe/Amsterdam
  55.     volumes:
  56.      - ./config/nginx.conf:/etc/nginx/nginx.conf:ro
  57.     ports:
  58.      - 9091:9091
  59.     restart: unless-stopped
  60.     labels:
  61.      - "com.centurylinklabs.watchtower.enable=true"
Add Comment
Please, Sign In to add comment