tangled
alpha
login
or
join now
seth.computer
/
sitebase
0
fork
atom
this repo has no description
0
fork
atom
overview
issues
pulls
pipelines
Fly deployment
seth.computer
2 months ago
023d25ba
c53aa39d
verified
This commit was signed with the committer's
known signature
.
seth.computer
SSH Key Fingerprint:
SHA256:utUtG8j2hgvZ0Rnm/rPJiqFu4NT5bjOnC26AUIBh500=
+57
-9
4 changed files
expand all
collapse all
unified
split
.dockerignore
Dockerfile
fly.toml
packages
web
.dockerignore
+10
.dockerignore
···
1
1
+
node_modules
2
2
+
.git
3
3
+
.gitignore
4
4
+
*.log
5
5
+
.DS_Store
6
6
+
.env
7
7
+
.env.*
8
8
+
packages/*/data
9
9
+
packages/web/data
10
10
+
!packages/web/public
+13
Dockerfile
···
1
1
+
# syntax=docker/dockerfile:1
2
2
+
3
3
+
FROM oven/bun:1-alpine AS builder
4
4
+
WORKDIR /app
5
5
+
COPY package.json bun.lock ./
6
6
+
COPY packages packages
7
7
+
RUN bun install --frozen-lockfile
8
8
+
9
9
+
WORKDIR /app/packages/web
10
10
+
ENV NODE_ENV=production
11
11
+
ENV PORT=8080
12
12
+
EXPOSE 8080
13
13
+
CMD ["bun", "run", "src/server.ts"]
+34
fly.toml
···
1
1
+
# fly.toml app configuration file generated for stdpub-web on 2026-01-13T21:16:04-06:00
2
2
+
#
3
3
+
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
4
4
+
#
5
5
+
6
6
+
app = 'stdpub-web'
7
7
+
primary_region = 'ord'
8
8
+
9
9
+
[build]
10
10
+
dockerfile = "Dockerfile"
11
11
+
12
12
+
[env]
13
13
+
PUBLIC_URL = "https://std.pub"
14
14
+
15
15
+
[http_service]
16
16
+
internal_port = 8080
17
17
+
force_https = true
18
18
+
auto_stop_machines = true
19
19
+
auto_start_machines = true
20
20
+
min_machines_running = 0
21
21
+
max_machines = 1
22
22
+
23
23
+
[[http_service.checks]]
24
24
+
interval = '10s'
25
25
+
timeout = '2s'
26
26
+
grace_period = '5s'
27
27
+
method = 'GET'
28
28
+
path = '/'
29
29
+
30
30
+
[[vm]]
31
31
+
memory = '1gb'
32
32
+
cpu_kind = 'shared'
33
33
+
cpus = 1
34
34
+
memory_mb = 1024
-9
packages/web/.dockerignore
···
1
1
-
node_modules
2
2
-
.git
3
3
-
.gitignore
4
4
-
*.log
5
5
-
.DS_Store
6
6
-
.env
7
7
-
.env.*
8
8
-
data/private-key.json
9
9
-
data/oauth.db