Closed gerhard closed 1 year ago
TL;DR the app is currently running as https://changelog-nightly-2023-10-10.fly.dev/
This adds everything needed to run this app on Fly.io:
nginx.conf
supercronic
crontab
SENTRY_DSN
Procfile
foreman
A good command to start with is dagger run go run . build
dagger run go run . build
Use the --debug flag to build a local image. Requires OP_SERVICE_ACCOUNT_TOKEN to be set. FWIW: https://developer.1password.com/docs/service-accounts/get-started
--debug
OP_SERVICE_ACCOUNT_TOKEN
The local image will be exported to tmp/image.tar. Test it locally by running:
tmp/image.tar
docker load -i tmp/image.tar docker run --rm -p 8081:80 -it <sha256:...>
To see all available options, run: dagger run go run .
dagger run go run .
This was done part of https://github.com/thechangelog/changelog.com/discussions/480
TL;DR the app is currently running as https://changelog-nightly-2023-10-10.fly.dev/
This adds everything needed to run this app on Fly.io:
nginx.conf
used to serve the static filessupercronic
to run thecrontab
(now versioned in this repo!)SENTRY_DSN
Procfile
support so that the Fly app runs both nginx & supercronicforeman
, old friend!A good command to start with is
dagger run go run . build
Use the
--debug
flag to build a local image. RequiresOP_SERVICE_ACCOUNT_TOKEN
to be set. FWIW: https://developer.1password.com/docs/service-accounts/get-startedThe local image will be exported to
tmp/image.tar
. Test it locally by running:To see all available options, run:
dagger run go run .
This was done part of https://github.com/thechangelog/changelog.com/discussions/480
Follow-ups