This repository was archived by the owner on Sep 14, 2025. It is now read-only.
forked from chatwoot/chatwoot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.azure.yaml
More file actions
67 lines (60 loc) · 1.79 KB
/
docker-compose.azure.yaml
File metadata and controls
67 lines (60 loc) · 1.79 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
59
60
61
62
63
64
65
66
67
version: '3.8'
services:
postgres:
image: pgvector/pgvector:pg17
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-postgres}
POSTGRES_DB: crove_production
volumes:
- postgres_data:/var/lib/postgresql/data
ports:
- "5432:5432"
redis:
image: redis:7-alpine
command: redis-server --requirepass ${REDIS_PASSWORD:-redis123}
ports:
- "6379:6379"
rails:
image: joyai/crove-rails:latest
depends_on:
- postgres
- redis
ports:
- "3000:3000"
environment:
DATABASE_URL: postgresql://postgres:${POSTGRES_PASSWORD:-postgres}@postgres:5432/crove_production
REDIS_URL: redis://:${REDIS_PASSWORD:-redis123}@redis:6379/1
RAILS_ENV: production
SECRET_KEY_BASE: ${SECRET_KEY_BASE}
RAILS_MASTER_KEY: ${RAILS_MASTER_KEY}
FRONTEND_URL: ${FRONTEND_URL:-https://crove.com}
BACKEND_URL: ${BACKEND_URL:-https://beta.crove.com}
RAILS_LOG_TO_STDOUT: "true"
RAILS_SERVE_STATIC_FILES: "true"
command: ["bundle", "exec", "rails", "server", "-b", "0.0.0.0", "-p", "3000"]
sidekiq:
image: joyai/crove-rails:latest
depends_on:
- postgres
- redis
environment:
DATABASE_URL: postgresql://postgres:${POSTGRES_PASSWORD:-postgres}@postgres:5432/crove_production
REDIS_URL: redis://:${REDIS_PASSWORD:-redis123}@redis:6379/1
RAILS_ENV: production
SECRET_KEY_BASE: ${SECRET_KEY_BASE}
RAILS_MASTER_KEY: ${RAILS_MASTER_KEY}
command: ["bundle", "exec", "sidekiq", "-C", "config/sidekiq.yml"]
vite:
image: joyai/crove-vite:latest
ports:
- "5173:5173"
environment:
NODE_ENV: production
VITE_RUBY_HOST: 0.0.0.0
volumes:
postgres_data:
redis_data:
networks:
default:
name: crove-network