-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
47 lines (41 loc) · 1.94 KB
/
.env.example
File metadata and controls
47 lines (41 loc) · 1.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Photo Organizer - Cloud Upload Configuration
# Copy this file to .env and fill in your credentials
# Never commit .env to git!
# =============================================================================
# GOOGLE DRIVE / GOOGLE PHOTOS
# =============================================================================
# 1. Go to https://console.cloud.google.com/
# 2. Create a new project
# 3. Enable APIs:
# - For Google Drive: Enable "Google Drive API"
# - For Google Photos: Enable "Photos Library API"
# 4. Go to Credentials → Create Credentials → OAuth 2.0 Client ID
# 5. Select "Desktop app" as application type
# 6. Download the JSON credentials file
# 7. Set the path below (or place in default location)
GOOGLE_CREDENTIALS_PATH="~/.config/photo-organizer/google_credentials.json"
GOOGLE_TOKEN_PATH="~/.config/photo-organizer/google_token.pickle"
# =============================================================================
# AWS S3 / S3-COMPATIBLE STORAGE (MinIO, Wasabi, etc.)
# =============================================================================
# For AWS S3:
# Get credentials from AWS IAM Console → Security credentials → Access keys
#
# For S3-compatible (MinIO, Wasabi, DigitalOcean Spaces, etc.):
# Set S3_ENDPOINT_URL to your provider's endpoint
S3_BUCKET="my-photo-backup-bucket"
S3_REGION="us-east-1"
S3_ACCESS_KEY="AKIA..."
S3_SECRET_KEY="your-secret-key"
# Optional: For S3-compatible services (leave empty for AWS)
# Examples:
# MinIO: http://localhost:9000
# Wasabi: https://s3.wasabisys.com
# DO Spaces: https://nyc3.digitaloceanspaces.com
S3_ENDPOINT_URL=""
# =============================================================================
# OPTIONAL: Location Service API Key
# =============================================================================
# The app works without this using free tiers, but you can set a key for
# BigDataCloud if you need higher limits
# LOCATION_API_KEY="your-api-key"