First add your hosts to the inventory file in /inventory/cluster.yaml
Create a vault.yaml in the base directory. The Vault file should look something like this:
swarm_token: <SWARM TOKEN>
joplin:
pg:
db: <DATABASE NAME>
password: <DATABASE PASSWORD>
user: <DATABASE USER>
port: <DATABASE PORT>
app:
url: <JOPLIN URL>
base_url: <JOPLIN BASE URL>
port: <JOPLIN PORT>
nginx:
port: <NGINX PORT>