-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
52 lines (46 loc) · 1.84 KB
/
docker-compose.yaml
File metadata and controls
52 lines (46 loc) · 1.84 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
48
49
50
51
52
# Aviary Docker Compose Configuration
#
# This example shows multi-user mode with SQLite database.
# For more examples, see: https://github.com/rmitchellscott/Aviary/blob/main/docs/DEPLOYMENT.md
services:
aviary:
image: ghcr.io/rmitchellscott/aviary:latest
tmpfs:
- /tmp
ports:
- "8000:8000"
environment:
# Multi-user mode (comment out for single-user)
MULTI_USER: "true"
AUTH_USERNAME: "${AUTH_USERNAME}" # Initial admin user
AUTH_PASSWORD: "${AUTH_PASSWORD}"
ADMIN_EMAIL: "${ADMIN_EMAIL:-admin@localhost}"
# Optional: SMTP for password resets
# SMTP_HOST: "${SMTP_HOST}"
# SMTP_PORT: "${SMTP_PORT:-587}"
# SMTP_USERNAME: "${SMTP_USERNAME}"
# SMTP_PASSWORD: "${SMTP_PASSWORD}"
# SMTP_FROM: "${SMTP_FROM}"
# SMTP_TLS: "${SMTP_TLS:-true}"
# SITE_URL: "${SITE_URL:-http://localhost:8000}"
# Optional: rmapi configuration
# RMAPI_HOST: "${RMAPI_HOST}" # For self-hosted rmfakecloud
# RMAPI_COVERPAGE: "${RMAPI_COVERPAGE}" # "first" to use first page as cover
# Optional: Other settings
# JWT_SECRET: "${JWT_SECRET}" # Custom JWT secret (recommended)
# DRY_RUN: "${DRY_RUN:-false}" # Set to "true" to test without uploading
volumes:
# Multi-user data storage
- type: bind
source: ./data
target: /data
# Optional: Pre-configured rmapi.conf for single-user mode
# - type: bind
# source: ./rmapi.conf
# target: /root/.config/rmapi/rmapi.conf
restart: unless-stopped
# For single-user mode, comment out MULTI_USER and related variables above,
# then uncomment the rmapi.conf volume mount.
#
# For PostgreSQL, production setups, or advanced configurations,
# see: https://github.com/rmitchellscott/Aviary/blob/main/docs/DEPLOYMENT.md