Skip to content

Commit a962c5e

Browse files
committed
docker cleanup
1 parent 0658883 commit a962c5e

24 files changed

Lines changed: 3948 additions & 276 deletions

File tree

.env.example

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
# ─────────────────────────────────────────────────────────────────────────────
2+
# ByteSend — environment variable template
3+
#
4+
# Copy this file to .env and fill in your values.
5+
# Lines beginning with # are comments.
6+
# ─────────────────────────────────────────────────────────────────────────────
7+
8+
9+
# Public URL of your ByteSend instance (must be HTTPS in production)
10+
NEXTAUTH_URL=https://your-domain.com
11+
12+
# Random secret used to sign sessions — generate with: openssl rand -base64 32
13+
NEXTAUTH_SECRET=
14+
15+
16+
DATABASE_URL=postgresql://bytesend:changeme@localhost:5432/bytesend
17+
18+
REDIS_URL=redis://localhost:6379
19+
20+
# Optional: prefix all Redis keys (useful when sharing a Redis instance)
21+
# REDIS_KEY_PREFIX=bytesend:
22+
23+
# Required for sending emails. Create an IAM user with SES permissions.
24+
# See: https://docs.bytesend.cloud/get-started/create-aws-credentials
25+
26+
AWS_ACCESS_KEY=
27+
AWS_SECRET_KEY=
28+
AWS_DEFAULT_REGION=eu-west-1
29+
30+
# Optional: override the SES and SNS endpoints (e.g. for local mocking)
31+
# AWS_SES_ENDPOINT=
32+
# AWS_SNS_ENDPOINT=
33+
34+
35+
# The "from" address used for transactional account emails (magic links etc.)
36+
FROM_EMAIL=noreply@your-domain.com
37+
38+
# Optional: external SMTP relay for transactional account emails.
39+
# Defaults to smtp.bytesend.cloud if not set.
40+
# SMTP_HOST=
41+
# SMTP_USER=
42+
43+
# At least one provider is recommended. All are optional individually.
44+
# If none are configured, users can still sign in via magic-link email.
45+
46+
# GitHub — https://github.com/settings/applications/new
47+
GITHUB_ID=
48+
GITHUB_SECRET=
49+
50+
# Discord — https://discord.com/developers/applications
51+
DISCORD_CLIENT_ID=
52+
DISCORD_CLIENT_SECRET=
53+
54+
# Google — https://console.cloud.google.com/apis/credentials
55+
GOOGLE_CLIENT_ID=
56+
GOOGLE_CLIENT_SECRET=
57+
58+
# Works with AWS S3, Cloudflare R2, Backblaze B2, MinIO, etc.
59+
60+
S3_COMPATIBLE_ACCESS_KEY=
61+
S3_COMPATIBLE_SECRET_KEY=
62+
S3_COMPATIBLE_API_URL=
63+
S3_COMPATIBLE_PUBLIC_URL=
64+
S3_COMPATIBLE_BUCKET=bytesend
65+
66+
API_RATE_LIMIT=1
67+
AUTH_EMAIL_RATE_LIMIT=5
68+
69+
# Email address of the super-admin user (grants admin panel access)
70+
ADMIN_EMAIL=

Dockerfile.web

Lines changed: 0 additions & 56 deletions
This file was deleted.

0 commit comments

Comments
 (0)