https://github.com/cssnr/df-shane
Django Files
https://github.com/cssnr/df-shane
Last synced: 3 months ago
JSON representation
Django Files
- Host: GitHub
- URL: https://github.com/cssnr/df-shane
- Owner: cssnr
- Created: 2023-09-01T01:46:37.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-09-03T00:00:45.000Z (over 2 years ago)
- Last Synced: 2025-01-07T21:11:30.410Z (over 1 year ago)
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Django Files Swarm Deploy
> **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](https://github.com/django-files/django-files)
## Variables and Secrets
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.
### Required
| 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 |
### Optional
| Variable | Type | Description |
|----------------------|----------|---------------------------------------|
| ZONE_NAME | Variable | Name of Zone to Purge in Cloudflare |
| CLOUDFLARE_API_TOKEN | Secret | Cloudflare API Token with Purge Perms |
### Setup
1. Fork Repository
2. Add Variables and Secrets
### Deploy
- Go to the Repository
- Click on Actions Tab
- Select Docker Stack Deploy
- Click Run workflow
- Enter a different version if desired
- Click Run workflow