Thank you so much. 😊 I see a few things already worth changing in my file. You da best.
Comment on If you already know Docker CLI, is there a reason to use Portainer?
gamermanh@lemmy.dbzer0.com 1 month agoOk, had my wife send me the file from my network
networks: main-network: name: ${COMPOSE\_PROJECT\_NAME} attachable: true ipam: driver: default config: - subnet: configure ip\_range: this gateway: yoself services: \# Gluetun - <https://github.com/qdm12/gluetun> gluetun: image: qmcgaw/gluetun container\_name: gluetun networks: - main-network cap\_add: - NET\_ADMIN environment: - PUID=${PUID} - PGID=${PGID} - TZ=${TZ} - VPN\_SERVICE\_PROVIDER=custom - VPN\_TYPE=wireguard - VPN\_PORT\_FORWARDING=true - VPN\_PORT\_FORWARDING\_PROVIDER=protonvpn - WIREGUARD\_ADDRESSES=use your own - WIREGUARD\_ALLOWED\_IPS=0.0.0.0/0 - WIREGUARD\_PRIVATE\_KEY=nope - WIREGUARD\_PUBLIC\_KEY=69420 - WIREGUARD\_DNS= - VPN\_ENDPOINT\_PORT= - VPN\_ENDPOINT\_IP= volumes: - ${DOAPPDAT}/gluetun:/gluetun
I left in the wireguard stuff without my details because for me Gluetun refused to work when setting the exact same info to wg0.conf, so I define it in my compose
Then, services that rely on gluetun go below and look like:
\# qBittorrent - <https://hub.docker.com/r/linuxserver/qbittorrent> qbittorrent: container\_name: qbittorrent network\_mode: container:gluetun image: [lscr.io/linuxserver/qbittorrent:latest](http://lscr.io/linuxserver/qbittorrent:latest) depends\_on: gluetun: condition: service\_healthy restart: unless-stopped
Works perfectly when I run it through portainer
aStonedSanta@lemm.ee 1 month ago
gamermanh@lemmy.dbzer0.com 1 month ago
It took me too long to get everything working myself because people love to share shit exclusively in CLI format and look down at anyone who asks for YAML it seems, so I’m always glad to pass it on
(I can understand CLI, but the ADHD brain finds YAML much easier for documentation purposes and it surprises me how many people seem to disagree)
aStonedSanta@lemm.ee 1 month ago
Haha dude. ADHD brain over here agrees. I can use CLI also but prefer not too
one_knight_scripting@lemmy.world 1 month ago
Wow. What an awesome wife. I think I just discovered a new relationship goal.