swead v3.1.4
SWEAD - (Ship-with-Env-and-Docker)
SWEAD is an opinionated framework for deploying Docker applications on Linux servers. It can handle encrypted envs and automatic creates SSL certificates for specified Domains.
Motivation
I created this framework because I was very annoyed with having to adjust my deployment script every time, create Dockerfiles, Docker-compose files etc. and wanted to simplify this process and bundle it into a single config file.
Usage
Initialize SWEAD Config
npx swead init
This will create a swead-config.ts file with a little boilerplate.
CLI Usage
When the config has been entered, you can start the deployment with npx swead production
, npx swead staging
or the local mode with npx swead local
or npx swead dev
start.
Node.js Usage
npm install swead
import {runProduction, runStaging, runLocal, runDev} from "swead"
import type {EnvSchemas, SweadConfig, Args} from "swead"
await runProduction(envSchemas: EnvSchemas | undefined, config: SweadConfig, args: Args)
await runStaging(envSchemas: EnvSchemas | undefined, config: SweadConfig, args: Args)
await runLocal(envSchemas: EnvSchemas | undefined, config: SweadConfig, args: Args)
await runDev(envSchemas: EnvSchemas | undefined, config: SweadConfig, args: Args)
28 days ago
2 months ago
3 months ago
3 months ago
3 months ago
3 months ago
4 months ago
4 months ago
4 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
8 months ago
10 months ago
10 months ago
11 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago