Installation Example with Ubuntu, Docker, and Nginx Proxy Manager #50
Replies: 5 comments 8 replies
-
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.
-
Thank you for the comprehensive guide. It is well-constructed and detailed. However, I noticed there is no information on how to obtain the necessary credentials. Could you please provide guidance on where to acquire these credentials? I attempted to use the Authorization generated by the app when connecting to the server, but it did not work. I tried executing the POST request to
Thank you very much. |
Beta Was this translation helpful? Give feedback.
-
Worked. Thank you. |
Beta Was this translation helpful? Give feedback.
-
Before i begin i would like to thank you @ApuRed for the detailed guides and @capcom6 for making the project open source 😊 Describe the Bug To Reproduce
Expected vs Actual Behavior
The provided screenshots illustrate the running containers and the console errors encountered when attempting to load the Swagger UI. Environment
Additional Context Did i forgot something to configure? i just follow the guide and the documentation on setting up the private server. |
Beta Was this translation helpful? Give feedback.
-
@ApuRed Do we necessarily need a domain name? From where did you get the private_token? |
Beta Was this translation helpful? Give feedback.
-
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: [email protected]
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