Note
This repository is designed to be forked and kept up to date.
DO NOT MODIFY FILES IN THIS REPOSITORY.
Everything is configured through Actions Variables and Secrets.
To deploy: https://github.com/django-files/django-files
You must have the following Variables and Secrets configured for your repository/org for this to work. The Secrets can be global for your organization but the Variables are specific to each repository.
| Variable | Type | Description |
|---|---|---|
| STACK_NAME | Variable | Name of Stack in Docker |
| CONFIG_FILE | Variable | Location of Config file in Service Configs |
| SERVICE_CONFIGS_KEY | Secret | SSH Key for Service Configs repo |
| DOCKER_SSH_KEY | Secret | Docker SSH Key |
| DOCKER_HOST | Secret | Docker Hostname |
| DOCKER_USER | Secret | Docker Username |
| DOCKER_PORT | Secret | Docker Port |
| Variable | Type | Description |
|---|---|---|
| ZONE_NAME | Variable | Name of Zone to Purge in Cloudflare |
| CLOUDFLARE_API_TOKEN | Secret | Cloudflare API Token with Purge Perms |
- Fork Repository
- Add Variables and Secrets
- Go to the Repository
- Click on Actions Tab
- Select Docker Stack Deploy
- Click Run workflow
- Enter a different version if desired
- Click Run workflow