Skip to content

Commit 34bf2b8

Browse files
committed
Move db and aircraft_sil to static host
1 parent c62831c commit 34bf2b8

1,593 files changed

Lines changed: 3 additions & 25 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/docker.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,3 @@ jobs:
6767
labels: ${{ steps.meta.outputs.labels }}
6868
cache-from: type=gha
6969
cache-to: type=gha,mode=max
70-
secrets: |
71-
"token=${{ secrets.PAT }}"

Dockerfile

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,3 @@
1-
FROM alpine:3.18 AS builder
2-
3-
RUN apk add --no-cache git
4-
5-
WORKDIR /app
6-
7-
RUN --mount=type=secret,id=token,env=TOKEN \
8-
git clone https://${TOKEN}@github.com/airplanes-live/tar1090-db .
9-
10-
111
FROM nginx:latest
122

133
ENV GLOBE_URL=globe.airplanes.live
@@ -18,6 +8,5 @@ WORKDIR /usr/share/nginx/html
188
COPY html .
199
COPY cachebust.list .
2010
COPY cachebust.sh /usr/local/bin/
21-
COPY --from=builder /app/db db-2/
2211
COPY nginx.conf /etc/nginx/templates/default.conf.template
23-
RUN chown -R nginx:nginx /usr/share/nginx/html/ && chmod +x /usr/local/bin/cachebust.sh
12+
RUN chown -R nginx:nginx /usr/share/nginx/html/ && chmod +x /usr/local/bin/cachebust.sh

html/aircraft_sil/1FTS.png

-3.24 KB
Binary file not shown.

html/aircraft_sil/1SQN.png

-2.63 KB
Binary file not shown.

html/aircraft_sil/22AS.png

-3.2 KB
Binary file not shown.

html/aircraft_sil/27FS.png

-3.15 KB
Binary file not shown.

html/aircraft_sil/2SQN.png

-3.38 KB
Binary file not shown.

html/aircraft_sil/37AS.png

-3.63 KB
Binary file not shown.

html/aircraft_sil/38RS.png

-2.9 KB
Binary file not shown.

html/aircraft_sil/39AS.png

-3.19 KB
Binary file not shown.

0 commit comments

Comments
 (0)