Add deployment pipeline with Fly.io setup
- Introduced `.woodpecker.yml` for CI/CD pipeline configuration targeting `main` branch. - Added `fly.toml` for Fly.io deployment settings, including region and deployment checks. - Created a `Dockerfile` for serving static files via NGINX with SPA routing setup.
This commit is contained in:
23
fly.toml
Normal file
23
fly.toml
Normal file
@ -0,0 +1,23 @@
|
||||
app = "gallus-pub"
|
||||
primary_region = "fra"
|
||||
|
||||
[build]
|
||||
dockerfile = "Dockerfile" # Da du mit einem Dockerfile arbeitest
|
||||
|
||||
[http_service]
|
||||
internal_port = 80
|
||||
force_https = true
|
||||
auto_stop_machines = true
|
||||
auto_start_machines = true
|
||||
min_machines_running = 0
|
||||
processes = ["app"]
|
||||
|
||||
[[http_service.checks]]
|
||||
interval = "10s"
|
||||
timeout = "2s"
|
||||
grace_period = "5s"
|
||||
method = "GET"
|
||||
path = "/"
|
||||
|
||||
[experimental]
|
||||
auto_rollback = true
|
||||
Reference in New Issue
Block a user