-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
58 lines (56 loc) · 1.72 KB
/
Copy pathdocker-compose.yaml
File metadata and controls
58 lines (56 loc) · 1.72 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
53
54
55
56
57
58
services:
backend:
build:
context: .
dockerfile: Dockerfile
tags:
- hive-pal
ports:
- '3000:3000'
environment:
NODE_ENV: production
ADMIN_EMAIL: ${ADMIN_EMAIL:-admin@example.com}
ADMIN_PASSWORD: ${ADMIN_PASSWORD}
JWT_SECRET: ${JWT_SECRET}
DATABASE_URL: ${DATABASE_URL:-postgres://postgres:postgres@postgres:5432/beekeeper}
PROMETHEUS_API_KEY: ${PROMETHEUS_API_KEY:-prometheus-secret-token}
SMTP_HOST: ${SMTP_HOST}
SMTP_PASS: ${SMTP_PASS}
SMTP_PORT: ${SMTP_PORT}
SMTP_REJECT_UNAUTHORIZED: ${SMTP_REJECT_UNAUTHORIZED}
SMTP_SECURE: ${SMTP_SECURE}
SMTP_USER: ${SMTP_USER}
FROM_EMAIL: noreply@hivepal.app
FRONTEND_URL: ${FRONTEND_URL:-https://preview.hivepal.app}
# Storage Configuration
STORAGE_TYPE: ${STORAGE_TYPE:-s3}
STORAGE_LOCAL_PATH: ${STORAGE_LOCAL_PATH:-/data/uploads}
# S3 Storage (for audio recordings)
S3_ENDPOINT: ${S3_ENDPOINT}
S3_REGION: ${S3_REGION:-us-east-1}
S3_BUCKET: ${S3_BUCKET}
S3_ACCESS_KEY_ID: ${S3_ACCESS_KEY_ID}
S3_SECRET_ACCESS_KEY: ${S3_SECRET_ACCESS_KEY}
AUDIO_MAX_FILE_SIZE: ${AUDIO_MAX_FILE_SIZE:-52428800}
volumes:
- hivepal_uploads:/data/uploads
depends_on:
- postgres
postgres:
image: postgres:14
ports:
- 6543:5432
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: beekeeper
volumes:
- hivepal_postgres_data_preview:/var/lib/postgresql/data
healthcheck:
test: [ 'CMD-SHELL', 'pg_isready -U postgres -d beekeeper' ]
interval: 10s
timeout: 5s
retries: 5
volumes:
hivepal_uploads:
hivepal_postgres_data_preview: