Prerequisites
Before you begin, make sure you have the following prerequisites installed and configured on your system:- Ubuntu 20.04 (server)
- Docker installed on your system.
- Permissions on the server with sudo access
-
Pull Docker Image:
Pull the Docker image from Docker Hub using the following command:
- Set Up Environment Variables: Configure the necessary environment variables as shown here.
-
Start Docker Container:
Run the following command to start the Docker container with your application:
Replace
lms_container
with a name for your container. - Verify Deployment: Once the container is up and running, open a web browser and navigate to your server’s IP address or domain name. You should see your application up and running.