Installation Example with Ubuntu, Docker, and Nginx Proxy Manager #50
ApuRed
started this conversation in
Show and tell
Replies: 1 comment
-
Hello! Thank you for providing these detailed instructions. Your contribution will undoubtedly benefit others in the community. I'd like to share a couple of notes regarding your Here are some additional recommendations:
Also, I want to thank you for pointing out I'll be shifting this question over to the discussion section for easier access and further engagement. Thanks again for your valuable input! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This example is using a VPS Ubuntu 22.xx with dedicated IP and a subdomain pointing to the IP
It is recommended not to use root as the main user, for this we create a user, give it administrator permissions
sudo adduser sms
sudo usermod -aG sudo sms
sudo su - sms
we can continue with the tutorial
1.- Have a Virtual Machine with docker and docker compose
To install you can use these tutorials:
https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-22-04
https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-compose-on-ubuntu-22-04
2.- Create a docker-compose.yaml file (SMS - MySQL - nginx) - you can use this example and adapt it to your liking
docker-compose.yaml.txt
3.- create a config.yml file (you can use the administrator guide at https://sms.capcom.me/getting-started/private-server/)
config.yml.txt
4.- Upload these files to the server (create a preferred folder)
5.- enter the server via putty using cd /[dir-create] and execute the command "docker compose up -d"
6.- When finished, enter server-ip:81 via web to enter the nginx administrator and use the data:
Email: admin@example.com
Password: changeme
7.- Change service access and configure a new proxy host
8.- If everything went well you will be able to see that the service is active.
9.- do not forget to configure the URL and Token in the APP
10.- We tested our service with postman.
11.- and the test sms will arrive where we indicate
I hope it helps you, if you have questions you can read the documentation or comment to add more details.
PS: All rights and thanks to the creator of this service, it is useful for my business.
PS2: The manual is still being modified, your contributions will help achieve a 100% effective and safe manual.
Beta Was this translation helpful? Give feedback.
All reactions