mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +00:00
* feat(backend): resize images with imagor Open questions: * Do we have external URLs for images? E.g. we have them for seeds. But in production? * Do we want to apply image transformations on these as well? My current implementation does not apply image transformations as of now. If we want to do that, we will also expose internal URLs in the kubernetes Cluster to the S3 endpoint to the client. TODOs: * The chat component is using a fixed size for all avatars at the moment. Maybe we can pair-program on this how to implement responsive images in this component library. Commits: * do not replace upload domain url in the database * fix all webapp specs * refactor: remove behaviour we won't need We don't want to apply image transformations on files, right? * refactor: replace the domain on read not on write * wip: webapp fixes * refactor(backend): add another url to config I've given up. There seems to be no nice way to tell the minio to return a location which differs from it's host name. * refactor: add test for s3Service * refactor(backend): proxy minio via backend in local development Commits: * provide tests for message attachments * remove S3_PUBLIC_URL config value * refactor: follow @ulfgebhardt's review * add missing environment variable --------- Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
53 lines
1.2 KiB
Plaintext
53 lines
1.2 KiB
Plaintext
DEBUG=neo4j-graphql-js
|
|
|
|
NEO4J_URI=bolt://localhost:7687
|
|
NEO4J_USERNAME=neo4j
|
|
NEO4J_PASSWORD=letmein
|
|
GRAPHQL_URI=http://localhost:4000
|
|
CLIENT_URI=http://localhost:3000
|
|
|
|
# E-Mail default settings
|
|
SUPPORT_EMAIL="devops@ocelot.social"
|
|
EMAIL_DEFAULT_SENDER="devops@ocelot.social"
|
|
SMTP_HOST=
|
|
SMTP_PORT=
|
|
SMTP_IGNORE_TLS=true
|
|
SMTP_MAX_CONNECTIONS=5
|
|
SMTP_MAX_MESSAGES=Infinity
|
|
SMTP_USERNAME=
|
|
SMTP_PASSWORD=
|
|
SMTP_SECURE="false" # true for 465, false for other ports
|
|
SMTP_DKIM_DOMAINNAME=
|
|
SMTP_DKIM_KEYSELECTOR=
|
|
SMTP_DKIM_PRIVATKEY=
|
|
# E-Mail settings for our 'docker compose up mailserver'
|
|
# SMTP_HOST=localhost
|
|
# SMTP_PORT=1025
|
|
# SMTP_IGNORE_TLS=true
|
|
# SMTP_USERNAME=
|
|
# SMTP_PASSWORD=
|
|
# SMTP_MAX_CONNECTIONS=1
|
|
# SMTP_MAX_MESSAGES= 10
|
|
|
|
JWT_SECRET="b/&&7b78BF&fv/Vd"
|
|
JWT_EXPIRES="2y"
|
|
MAPBOX_TOKEN="pk.eyJ1IjoiYnVzZmFrdG9yIiwiYSI6ImNraDNiM3JxcDBhaWQydG1uczhpZWtpOW4ifQ.7TNRTO-o9aK1Y6MyW_Nd4g"
|
|
|
|
PRIVATE_KEY_PASSPHRASE="a7dsf78sadg87ad87sfagsadg78"
|
|
|
|
SENTRY_DSN_BACKEND=
|
|
COMMIT=
|
|
PUBLIC_REGISTRATION=false
|
|
INVITE_REGISTRATION=true
|
|
|
|
AWS_ACCESS_KEY_ID=minio
|
|
AWS_SECRET_ACCESS_KEY=12341234
|
|
AWS_ENDPOINT=http://localhost:9000
|
|
AWS_REGION=local
|
|
AWS_BUCKET=ocelot
|
|
IMAGOR_PUBLIC_URL=http://localhost:8000
|
|
IMAGOR_SECRET=mysecret
|
|
|
|
CATEGORIES_ACTIVE=false
|
|
MAX_PINNED_POSTS=1
|