-
Notifications
You must be signed in to change notification settings - Fork 0
First deployment
Brice Amen edited this page Sep 4, 2024
·
2 revisions
💡 This section guides you through the initial deployment using the Nginx container image as an example.
To begin, pull the Nginx image with the following command:
podman pull nginx:latest
# or
docker pull nginx:latestDeploy the image using the gordon deploy command:
gordon deploy nginx -p 80 -t nginx.foobar.com💡 NB:
- Omitting a :tag when specifying the image defaults to :latest.
- Omitting protocol for the ports defaults to /tcp.
- Omitting HTTP or HTTPS for your domain will default to HTTPS.
If the deployment is successful, you will receive this message:
Deployment successful!
Your application is now available at: https://nginx.foobar.com💡 Troubleshooting Tip: If the image upload succeeds but Traefik cannot expose your container, you may edit the container configuration via the backend web UI.
- Using
godon deploy nginxwithout parameters will push the image and provide a URL to create the container. - Executing
gordon push nginxwill simply push the image to the backend.