File tree 5 files changed +11
-10
lines changed
5 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -30,10 +30,10 @@ RUN apt-get update -y && apt-get install -y \
30
30
nodejs && \
31
31
apt-get clean && rm -f /var/lib/apt/lists/*_*
32
32
33
- ARG LITESTREAM_VERSION=0.3.13
34
- # Install litestream
35
- RUN wget https://github.com/benbjohnson/litestream/releases/download/v${LITESTREAM_VERSION}/litestream-v${LITESTREAM_VERSION}-linux-amd64.deb \
36
- && dpkg -i litestream-v${LITESTREAM_VERSION}-linux-amd64.deb
33
+ # ARG LITESTREAM_VERSION=0.3.13
34
+ # # Install litestream
35
+ # RUN wget https://github.com/benbjohnson/litestream/releases/download/v${LITESTREAM_VERSION}/litestream-v${LITESTREAM_VERSION}-linux-amd64.deb \
36
+ # && dpkg -i litestream-v${LITESTREAM_VERSION}-linux-amd64.deb
37
37
38
38
RUN npm install -g pnpm
39
39
RUN pnpm self-update
@@ -121,15 +121,15 @@ RUN mkdir -p /app/data && \
121
121
chown nobody /app
122
122
123
123
# Copy Litestream binary from build stage
124
- COPY --from=builder /usr/bin/litestream /usr/bin/litestream
125
- COPY litestream.sh /app/bin/litestream.sh
126
- COPY config/litestream.yml /etc/litestream.yml
124
+ # COPY --from=builder /usr/bin/litestream /usr/bin/litestream
125
+ # COPY litestream.sh /app/bin/litestream.sh
126
+ # COPY config/litestream.yml /etc/litestream.yml
127
127
128
128
USER nobody
129
129
130
130
EXPOSE 4000
131
131
# Run litestream script as entrypoint
132
- ENTRYPOINT ["/bin/bash" , "/app/bin/litestream.sh" ]
132
+ # ENTRYPOINT ["/bin/bash", "/app/bin/litestream.sh"]
133
133
134
134
CMD ["/bin/sh" , "-c" , "mkdir -p /app/data && /app/bin/server" ]
135
135
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ kill_signal = 'SIGTERM'
13
13
DATABASE_PATH = ' /mnt/name/name.db'
14
14
PHX_HOST = ' solidyjs-lively-pine-4375.fly.dev'
15
15
PORT = ' 8080'
16
+ MIX_ENV = ' prod'
16
17
17
18
[[mounts ]]
18
19
source = ' name'
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ defmodule SolidyjsWeb.Router do
6
6
"require-trusted-types-for 'script'; script-src 'self' 'wasm-unsafe-eval' 'unsafe-inline'; object-src 'none'; connect-src 'self' https://solidyjs-lively-pine-4375.fly.dev wss://solidyjs-lively-pine-4375.fly.dev ws://solidyjs-lively-pine-4375.fly.dev https://api.maptiler.com/ https://*.maptiler.com/; img-src 'self' data: https://*.maptiler.com/ https://api.maptiler.com/; worker-src 'self' blob:; style-src 'self' 'unsafe-inline'; default-src 'self' https://solidyjs-lively-pine-4375.fly.dev; frame-ancestors 'none'; base-uri 'self'"
7
7
8
8
_ ->
9
- "script-src 'self' 'wasm-unsafe-eval'; object-src 'none'; connect-src http://localhost:* ws://localhost:* https://api.maptiler.com/; img-src 'self' data: https://*.maptiler.com/ https://api.maptiler.com/; worker-src 'self' blob:; style-src 'self' 'unsafe-inline'; default-src 'self'; frame-ancestors 'none'; base-uri 'self'"
9
+ "script-src 'self' 'wasm-unsafe-eval' 'unsafe-inline' ; object-src 'none'; connect-src 'self' http://localhost:* ws://localhost:* wss://localhost:* https://api.maptiler.com/ https://* .maptiler.com/; img-src 'self' data: https://*.maptiler.com/ https://api.maptiler.com/; worker-src 'self' blob:; style-src 'self' 'unsafe-inline'; default-src 'self'; frame-ancestors 'none'; base-uri 'self'"
10
10
end )
11
11
12
12
# Two years in seconds (recommended for preload)
Original file line number Diff line number Diff line change @@ -4810,7 +4810,7 @@ precacheAndRoute([{
4810
4810
"revision" : "d6d45a67e8821be4e8a98f2eef6bc659"
4811
4811
} , {
4812
4812
"url" : "images/maptiler.webp" ,
4813
- "revision" : "55fd2480bcdf937e3044d5edd2e1a78b "
4813
+ "revision" : "db5cfd4710c784d7b2a9130db7d14cfd "
4814
4814
} , {
4815
4815
"url" : "images/marker-icon-2x.png" ,
4816
4816
"revision" : "1c824216f354218b04b25a57e0f7ab1f"
You can’t perform that action at this time.
0 commit comments