20 lines
1.1 KiB
Markdown
20 lines
1.1 KiB
Markdown
# Deploy a stack
|
|
|
|
Portainer lets you deploy an entire stack from either a default template or a custom template.
|
|
|
|
{% hint style="info" %}
|
|
You can also [create a template from a stack](../stacks/template.md).
|
|
{% endhint %}
|
|
|
|
From the menu select **App Templates** then select the template you want to deploy. In this example we'll create a WordPress stack.
|
|
|
|
<figure><img src="../../../.gitbook/assets/2.15-docker_create_stack_template.gif" alt=""><figcaption></figcaption></figure>
|
|
|
|
Enter a name for the stack and set any required configuration values (these will differ from template to template). Toggle **Enable access control** on or off as required.
|
|
|
|
<figure><img src="../../../.gitbook/assets/2.15-docker-deploy-stack-wordpress.png" alt=""><figcaption></figcaption></figure>
|
|
|
|
Click **Deploy the stack** then wait for the deployment to finish. If the deployment is successful, the new stack will appear in the list. Select it to view the [deployment details](../stacks/edit.md).
|
|
|
|
<figure><img src="../../../.gitbook/assets/2.15-docker-wordpress-stack-deployed.png" alt=""><figcaption></figcaption></figure>
|