Last active
October 8, 2025 18:04
-
-
Save santaklouse/deab28d5279b956a035bd535c7e75c46 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| sudo docker volume create --name vproxy-data; #create data volume | |
| sudo docker rm -f vproxy; #remove any previous container | |
| #Start the container as daemon | |
| sudo docker run -d \ | |
| --name vproxy \ | |
| --network host \ | |
| --restart=always \ | |
| -v vproxy-data:/app/data/:rw \ | |
| -v vproxy-data:/etc/letsencrypt:rw \ | |
| -v vproxy-data:/var/lib/letsencrypt:rw \ | |
| --cap-add net_bind_service \ | |
| vproxy/server:latest | |
| sudo docker logs -f vproxy; #Watch the logs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment