feat(deploy): add PaaS templates and config
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
app = "flynn"
|
||||
|
||||
[build]
|
||||
dockerfile = "Dockerfile"
|
||||
|
||||
[env]
|
||||
# Persist state under /data (see volume mount below)
|
||||
FLYNN_DATA_DIR = "/data"
|
||||
|
||||
# The Docker image ships /config/config.yaml (from config/paas.yaml).
|
||||
# Override this if you mount your own config elsewhere.
|
||||
FLYNN_CONFIG = "/config/config.yaml"
|
||||
|
||||
[http_service]
|
||||
internal_port = 18800
|
||||
force_https = true
|
||||
auto_start_machines = true
|
||||
auto_stop_machines = "stop"
|
||||
min_machines_running = 0
|
||||
|
||||
[[mounts]]
|
||||
source = "flynn_data"
|
||||
destination = "/data"
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
[build]
|
||||
builder = "DOCKERFILE"
|
||||
dockerfilePath = "Dockerfile"
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
services:
|
||||
- type: web
|
||||
name: flynn
|
||||
env: docker
|
||||
dockerfilePath: ./Dockerfile
|
||||
autoDeploy: false
|
||||
healthCheckPath: /
|
||||
envVars:
|
||||
- key: ANTHROPIC_API_KEY
|
||||
sync: false
|
||||
|
||||
Reference in New Issue
Block a user