Skip to content

Commit

Permalink
chore: Better organise Fly-specific configuration.
Browse files Browse the repository at this point in the history
myrkvi committed Jul 15, 2024
1 parent 27e815d commit 044b37e
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .fly/Dockerfile → _fly/Dockerfile
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ RUN go mod download
RUN go build -ldflags "-s -w" -o /bin/heimdallr

FROM alpine:latest
COPY litefs.yml ./
COPY _fly/litefs.yml ./
COPY --from=build /bin/heimdallr /bin/heimdallr
COPY --from=flyio/litefs:0.5 /usr/local/bin/litefs /bin/litefs
RUN apk add ca-certificates fuse3 sqlite
File renamed without changes.
2 changes: 1 addition & 1 deletion fly.production.toml
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ app = "heimdallr"
primary_region = "iad"

[build]
dockerfile = ".fly/Dockerfile"
dockerfile = "_fly/Dockerfile"

[[vm]]
size = "shared-cpu-2x"
2 changes: 1 addition & 1 deletion fly.toml
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ app = 'heimdallr-test'
primary_region = 'iad'

[build]
dockerfile = ".fly/Dockerfile"
dockerfile = "_fly/Dockerfile"

[env]
HEIMDALLR_DEV_MODE_EANBLED = "true"

0 comments on commit 044b37e

Please sign in to comment.