mirror of
https://codeberg.org/JasterV/spazio-solazzo.git
synced 2026-04-27 02:25:40 +00:00
chore: remove any fly.io related configuration
This commit is contained in:
parent
13ec27f562
commit
28d80f45af
4 changed files with 0 additions and 122 deletions
|
|
@ -1,46 +0,0 @@
|
|||
# This ensures the pipeline only runs on the main branch
|
||||
# when:
|
||||
# event: push
|
||||
# branch: main
|
||||
|
||||
# depends_on:
|
||||
# - ci
|
||||
|
||||
# steps:
|
||||
# # Build and Push Docker Image
|
||||
# # We use the 'kaniko' plugin to build images without needing a Docker daemon (safer/simpler)
|
||||
# build:
|
||||
# image: plugins/kaniko
|
||||
# settings:
|
||||
# registry: registry.fly.io
|
||||
# repo: registry.fly.io/spazio-solazzo
|
||||
# tags: sha-${CI_COMMIT_SHA}
|
||||
# # You'll need to provide Fly credentials to Kaniko
|
||||
# username: x
|
||||
# password:
|
||||
# from_secret: FLY_API_TOKEN
|
||||
|
||||
# # 3. Set Secrets and Deploy
|
||||
# deploy:
|
||||
# image: codeberg.org/jasterv/flyctl:latest
|
||||
# pull: true
|
||||
# environment:
|
||||
# FLY_API_TOKEN:
|
||||
# from_secret: FLY_API_TOKEN
|
||||
# # Passing the other app secrets
|
||||
# TOKEN_SIGNING_SECRET: { from_secret: TOKEN_SIGNING_SECRET }
|
||||
# ADMIN_EMAIL: { from_secret: ADMIN_EMAIL }
|
||||
# SPAZIO_SOLAZZO_EMAIL: { from_secret: SPAZIO_SOLAZZO_EMAIL }
|
||||
# FRONT_OFFICE_PHONE_NUMBER: { from_secret: FRONT_OFFICE_PHONE_NUMBER }
|
||||
# RESEND_API_KEY: { from_secret: RESEND_API_KEY }
|
||||
# DATABASE_URL: { from_secret: DATABASE_URL }
|
||||
# commands:
|
||||
# - |
|
||||
# flyctl secrets set \
|
||||
# TOKEN_SIGNING_SECRET="$TOKEN_SIGNING_SECRET" \
|
||||
# ADMIN_EMAIL="$ADMIN_EMAIL" \
|
||||
# SPAZIO_SOLAZZO_EMAIL="$SPAZIO_SOLAZZO_EMAIL" \
|
||||
# FRONT_OFFICE_PHONE_NUMBER="$FRONT_OFFICE_PHONE_NUMBER" \
|
||||
# RESEND_API_KEY="$RESEND_API_KEY" \
|
||||
# DATABASE_URL="$DATABASE_URL"
|
||||
# - flyctl deploy --image registry.fly.io/spazio-solazzo:sha-${CI_COMMIT_SHA}
|
||||
5
flex
5
flex
|
|
@ -1,5 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
fly ssh console --pty --select -C "/app/bin/spazio_solazzo remote"
|
||||
|
|
@ -1,34 +0,0 @@
|
|||
# fly.review.toml
|
||||
#
|
||||
app = "spazio-solazzo"
|
||||
primary_region = "ams"
|
||||
kill_signal = "SIGTERM"
|
||||
|
||||
[build]
|
||||
|
||||
[deploy]
|
||||
release_command = '/app/bin/migrate'
|
||||
wait_timeout = "10m"
|
||||
|
||||
[env]
|
||||
PHX_SERVER = "true"
|
||||
PORT = "8080"
|
||||
|
||||
[http_service]
|
||||
internal_port = 8080
|
||||
force_https = true
|
||||
auto_stop_machines = 'stop'
|
||||
auto_start_machines = true
|
||||
min_machines_running = 0
|
||||
processes = ["app"]
|
||||
|
||||
[http_service.concurrency]
|
||||
type = "connections"
|
||||
soft_limit = 500
|
||||
hard_limit = 500
|
||||
|
||||
[[vm]]
|
||||
cpu_kind = "shared"
|
||||
memory = '512mb'
|
||||
cpus = 1
|
||||
memory_mb = 512
|
||||
37
fly.toml
37
fly.toml
|
|
@ -1,37 +0,0 @@
|
|||
# fly.toml app configuration file generated for spazio-solazzo on 2026-01-13T12:30:59+01:00
|
||||
#
|
||||
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
|
||||
#
|
||||
|
||||
app = 'spazio-solazzo'
|
||||
primary_region = 'ams'
|
||||
kill_signal = 'SIGTERM'
|
||||
|
||||
[build]
|
||||
dockerfile = "Dockerfile"
|
||||
|
||||
[deploy]
|
||||
release_command = '/app/bin/migrate'
|
||||
wait_timeout = "10m"
|
||||
|
||||
[env]
|
||||
PHX_HOST = 'spaziosolazzo.mojocohouse.com'
|
||||
PORT = '8080'
|
||||
|
||||
[http_service]
|
||||
internal_port = 8080
|
||||
force_https = true
|
||||
auto_stop_machines = 'stop'
|
||||
auto_start_machines = true
|
||||
min_machines_running = 1
|
||||
processes = ['app']
|
||||
|
||||
[http_service.concurrency]
|
||||
type = 'connections'
|
||||
hard_limit = 1000
|
||||
soft_limit = 1000
|
||||
|
||||
[[vm]]
|
||||
memory = '1024mb'
|
||||
cpus = 1
|
||||
memory_mb = 1024
|
||||
Loading…
Add table
Add a link
Reference in a new issue