README
This commit is contained in:
parent
8149974354
commit
70aa1a7eaa
1 changed files with 34 additions and 0 deletions
34
README.md
Normal file
34
README.md
Normal file
|
@ -0,0 +1,34 @@
|
|||
An Ansible role to deploy Quant-UX in (Docker) containers, with (optional) Traefik integration.
|
||||
|
||||
## Requires
|
||||
|
||||
On the controller:
|
||||
|
||||
- Ansible
|
||||
- This role
|
||||
|
||||
On the target machine:
|
||||
|
||||
- Docker, including 'docker compose' command
|
||||
- Traefik configured to watch for Docker containers (optional)
|
||||
|
||||
## Brief Instructions
|
||||
|
||||
Download and store the role where your Ansible configuration can find it, either using ansible-galaxy or manually.
|
||||
|
||||
Include the role in your playbook. Set the required variables, and any optional variables, in your inventory or with the 'vars' keyword. All required and optional variables are listed in 'defaults/main.yml'.
|
||||
|
||||
Example (in 'roles' section in an Ansible playbook):
|
||||
|
||||
```yaml
|
||||
- role: quant-ux-docker-ansible
|
||||
vars:
|
||||
qux_domain: qux.example
|
||||
qux_jwt_password: at_least_24_random_characters
|
||||
```
|
||||
|
||||
## Routing, Traefik, Bind Ports
|
||||
|
||||
This role puts Traefik labels on the containers, so that if Traefik is configured to watch for Docker containers, Traefik will read the labels and configure its routing.
|
||||
|
||||
Alternatively, you can set the `qux_*_bind_port` variables to bind the container entry-points to host ports, and optionally configure your own reverse-proxy to route to them.
|
Loading…
Reference in a new issue