-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from row-of-code/main
Restrict deployment to single server configuration
- Loading branch information
Showing
24 changed files
with
150 additions
and
256 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# FTL (Faster Than Light) Deployment | ||
|
||
FTL is a lightweight deployment tool designed to simplify cloud deployments without the complexity of traditional CI/CD pipelines or container orchestration platforms. It provides automated, zero-downtime deployments to various cloud providers through a single YAML configuration file. | ||
FTL is a lightweight deployment tool designed to simplify cloud deployments without the complexity of traditional CI/CD pipelines or container orchestration platforms. It provides automated, zero-downtime deployments through a single YAML configuration file. | ||
|
||
For comprehensive documentation, visit [https://ftl-deploy.org](https://ftl-deploy.org) | ||
|
||
|
@@ -62,14 +62,14 @@ project: | |
domain: my-project.example.com | ||
email: [email protected] | ||
|
||
servers: | ||
- host: my-project.example.com | ||
port: 22 | ||
user: my-project | ||
ssh_key: ~/.ssh/id_rsa | ||
server: | ||
host: my-project.example.com | ||
port: 22 | ||
user: my-project | ||
ssh_key: ~/.ssh/id_rsa | ||
|
||
services: | ||
- name: my-app | ||
- name: web | ||
image: my-app:latest | ||
port: 80 | ||
health_check: | ||
|
@@ -160,9 +160,6 @@ ftl logs my-app -n 150 | |
```bash | ||
# Create tunnels for all dependencies | ||
ftl tunnels | ||
# Connect to specific server | ||
ftl tunnels --server my-project.example.com | ||
``` | ||
|
||
## Development | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,16 +3,11 @@ project: | |
domain: my-project.example.com | ||
email: [email protected] | ||
|
||
servers: | ||
- host: my-project.example.com | ||
port: 22 | ||
user: my-project | ||
ssh_key: ~/.ssh/id_rsa | ||
|
||
- host: 127.0.0.1 | ||
port: 22 | ||
user: my-project | ||
ssh_key: ~/.ssh/id_rsa | ||
server: | ||
host: my-project.example.com | ||
port: 22 | ||
user: my-project | ||
ssh_key: ~/.ssh/id_rsa | ||
|
||
services: | ||
- name: my-app | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ FTL uses a single YAML configuration file (`ftl.yaml`) to define your entire dep | |
The `ftl.yaml` file is organized into these main sections: | ||
|
||
- **Project**: Basic project information like name, domain, and contact details | ||
- **Servers**: Target server specifications and SSH connection details | ||
- **Server**: Target server specifications and SSH connection details | ||
- **Services**: Your application services that will be deployed | ||
- **Dependencies**: Supporting services like databases and caches | ||
- **Volumes**: Persistent storage definitions | ||
|
@@ -25,11 +25,11 @@ project: | |
domain: my-project.example.com | ||
email: [email protected] | ||
|
||
servers: | ||
- host: my-project.example.com | ||
port: 22 | ||
user: deploy | ||
ssh_key: ~/.ssh/id_rsa | ||
server: | ||
host: my-project.example.com | ||
port: 22 | ||
user: deploy | ||
ssh_key: ~/.ssh/id_rsa | ||
|
||
services: | ||
- name: web | ||
|
Oops, something went wrong.