forked from mirrors/iceshrimp
Compare commits
6 commits
e2net-stag
...
e2net
Author | SHA1 | Date | |
---|---|---|---|
Laura Hausmann | dbd65a335a | ||
Laura Hausmann | 01fbd1a5c7 | ||
b1b9616572 | |||
c8704f4517 | |||
0022e9d0e0 | |||
ccec3e7e63 |
|
@ -35,7 +35,7 @@ FROM alpine:3.18
|
|||
WORKDIR /iceshrimp
|
||||
|
||||
# Install runtime dependencies
|
||||
RUN apk add --no-cache --no-progress tini ffmpeg vips-dev zip unzip nodejs-current
|
||||
RUN apk add --no-cache --no-progress tini ffmpeg vips-dev zip unzip nodejs-current libheif-dev
|
||||
|
||||
# Copy built files
|
||||
COPY --from=build /iceshrimp /iceshrimp
|
||||
|
|
|
@ -43,7 +43,7 @@ It was forked from <del>Calckey</del> Firefish (itself a fork of Misskey) in mid
|
|||
- Please note that we do not operate a "flagship instance", the only project-affiliated domain is `iceshrimp.dev`.
|
||||
- Want to donate to the project?
|
||||
- Our backend lead dev (zotan) is in need of a better laptop, as their current one does not have enough memory. You can contribute [here](https://bunq.me/zotanlaptopcrowdfund). Any leftover money will be given to queers in need.
|
||||
- Need help or want to contribute? Join the [matrix room](https://matrix.to/#/%23iceshrimp-dev:161.rocks)!
|
||||
- Need help or want to contribute? Join the [chat room](https://chat.iceshrimp.dev)!
|
||||
|
||||
---
|
||||
|
||||
|
|
|
@ -47,6 +47,12 @@ server {
|
|||
# Change to your upload limit
|
||||
client_max_body_size 80m;
|
||||
|
||||
# Gzip compression
|
||||
gzip on;
|
||||
gzip_proxied any;
|
||||
gzip_comp_level 6;
|
||||
gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript application/activity+json application/atom+xml;
|
||||
|
||||
# Proxy to Node
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:3000;
|
||||
|
|
|
@ -13,7 +13,7 @@ This document will guide you through manual installation of Iceshrimp. We also p
|
|||
### Required
|
||||
|
||||
- [**Node.js**](https://nodejs.org) v18.16.0+ (v20 recommended)
|
||||
- [**PostgreSQL**](https://www.postgresql.org/) 12+
|
||||
- [**PostgreSQL**](https://www.postgresql.org/) 12+ (including modules, usually packaged as postgresql-contrib)
|
||||
- [**Redis**](https://redis.io/) 6+
|
||||
- [**libvips**](https://www.libvips.org/)
|
||||
- **Web proxy**
|
||||
|
|
|
@ -87,6 +87,7 @@ export class MiscHelpers {
|
|||
},
|
||||
reactions: {
|
||||
max_reactions: 1,
|
||||
default_reaction: meta.defaultReaction,
|
||||
},
|
||||
},
|
||||
contact_account: contact,
|
||||
|
|
|
@ -469,7 +469,7 @@ router.get("/notes/:note", async (ctx, next) => {
|
|||
ctx.set("Cache-Control", "public, max-age=15");
|
||||
ctx.set(
|
||||
"Content-Security-Policy",
|
||||
"default-src 'self' 'unsafe-inline'; img-src *; frame-ancestors *",
|
||||
"default-src 'self' 'unsafe-inline'; img-src *; media-src *; frame-ancestors *",
|
||||
);
|
||||
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue