Skip to content

Latest commit

 

History

19 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

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

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

About

Django Files

Resources

Contributing

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors