-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.contribute.yml
More file actions
57 lines (53 loc) · 1.35 KB
/
docker-compose.contribute.yml
File metadata and controls
57 lines (53 loc) · 1.35 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
version: '3.9'
services:
backend:
image: enginecompr3ssor/xelleq-dev:latest
ports:
- "8000:8000"
depends_on:
- db
- redis
environment:
DATABASE_URL: postgres://postgres:postgres@db:5432/celliq_db
REDIS_URL: redis://:myredisstrongpasshehe@redis:6379
API_PORT: 8000
API_IP_ADDRESS: 0.0.0.0
CLIENT_DOMAIN: http://localhost:5173
ALLOW_ORIGIN: http://localhost:5173
SECRET_KEY: dev_secret
SMTP_FROM: random
MODE: dev
USE_CACHE: "true"
PUBLIC_FILE_STORAGE_DOMAIN: http://localhost:8000/uploads
PRIVATE_FILE_STORAGE_DOMAIN: http://localhost:8000/uploads
MAILGUN_API_KEY: random
AGORA_APP_ID: random
AGORA_APP_CERTIFICATE: random
GOOGLE_CLIENT_ID: random
volumes:
- ./uploads:/app/uploads
db:
image: enginecompr3ssor/dumb-db:latest
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: celliq_db
volumes:
- pgdata:/var/lib/postgresql/data
redis:
image: redis:7
ports:
- "6379:6379"
command: [
"redis-server",
"--requirepass", "myredisstrongpasshehe",
"--save", "60", "10000",
"--save", "300", "10",
"--appendonly", "yes",
"--appendfsync", "everysec"
]
volumes:
- redis_data:/data
volumes:
pgdata:
redis_data: