Advertisement
Guest User

Wrapper script to launch things in order.

a guest
Jan 28th, 2025
24
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.53 KB | Source Code | 0 0
  1. #!/bin/bash
  2.  
  3. # Start VPN and socks before mounting ultra.
  4. docker compose up -d gluetun socks5
  5.  
  6. echo "Started network related containers. These are the containers currently."
  7. docker ps
  8. echo "--------"
  9.  
  10. # Now socks proxy is up, mount SFTP using it.
  11. echo "Going to mount ultra"
  12. ./rclone-sftp.sh
  13. echo "Done mounting. Here is current FS state"
  14. df -h
  15.  
  16. # Start all other containers (ARR apps, librewolf)
  17. echo "Starting all containers"
  18. docker compose up -d
  19. echo "Done starting all containers. Here are all the containers"
  20. docker ps
  21.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement