https://github.com/reddec/portable-stack
https://github.com/reddec/portable-stack
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/reddec/portable-stack
- Owner: reddec
- Created: 2023-01-25T16:13:21.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-01-25T16:13:47.000Z (over 3 years ago)
- Last Synced: 2025-10-12T05:05:44.716Z (9 months ago)
- Homepage: https://reddec.net/articles/portable-stack/
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Portable stack
This is "clonable" [portable stack](https://reddec.net/articles/portable-stack/) which can be used by anyone.
The playbook includes DNS records (if defined) updates in Cloudflare, however, you may use any other provider and update logic in `tasks/dns.yaml`.
## Checklist
- [ ] Update inventory.yaml and write down your hosts. Pick host name as something not bounded to provider: ie `web1`, not `aws-srv-1`. It will help migrate between providers. Optionally, you may set domains names for automatic records update.
- [ ] Update variables.yaml and define your parameters. Use [ansible-vault](https://docs.ansible.com/ansible/latest/vault_guide/index.html) for secrets or alternatives.
- [ ] Update or create stack per host in `hosts//docker-compose.yaml`. Everything in `hosts/` will be copied to the remote host before execution, however, only volumes will be backuped by default.
## Deployment
ansible-playbook -i inventory.yaml playbook.yaml