Updated toml according to article, and some notes.

This commit is contained in:
Gregory Burd 2023-10-25 11:21:18 -04:00
parent 746f60a3df
commit 157a3eaa73
Signed by: greg
GPG key ID: AEFACC3FC495AF89
2 changed files with 17 additions and 7 deletions

14
logs/README.md Normal file
View file

@ -0,0 +1,14 @@
# Create the app but don't deploy just yet
fly launch --no-deploy --image ghcr.io/superfly/fly-log-shipper:latest
# Set some secrets. The secret / env var you set
# determines which "sinks" are configured
fly secrets set ORG=personal
fly secrets set ACCESS_TOKEN=$(fly auth token)
fly secrets set BETTER_STACK_SOURCE_TOKEN=<token provided by better stack>
https://fly.io/docs/going-to-production/monitoring/exporting-logs/#the-fly-log-shipper
https://github.com/superfly/fly-log-shipper
https://uptime.betterstack.com/team/163632/integrations/apis

View file

@ -9,10 +9,6 @@ primary_region = "bos"
[build] [build]
image = "ghcr.io/superfly/fly-log-shipper:latest" image = "ghcr.io/superfly/fly-log-shipper:latest"
[http_service] [[services]]
internal_port = 8080 http_checks = []
force_https = true internal_port = 8686
auto_stop_machines = true
auto_start_machines = true
min_machines_running = 0
processes = ["app"]