19 lines
613 B
Markdown
19 lines
613 B
Markdown
# Ansible role to launch a new container
|
|
|
|
To be used in the LXD host (currently **servidora1e0.bogota.agofer**), via
|
|
`ansible-pull`.
|
|
|
|
```sh
|
|
ansible-pull \
|
|
-U ssh://git@gitea.agofer.net:22001/jegomez/ansible-role-launch-container.git \
|
|
-e nombre=<newodoocontainer>
|
|
```
|
|
|
|
* Launches a new container called **newodoocontainer**.
|
|
* Creates a DNS alias for **externo.agofer.net** called
|
|
**newodoocontainer.agofer.net**.
|
|
* Registers this container in the existing Nginx Proxy container.
|
|
* Requests an SSL certificate to _Let's Encrypt_ for the new domain, storing
|
|
the certificates in the Nginx Proxy container.
|
|
|