-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
37 lines (36 loc) · 938 Bytes
/
docker-compose.yml
File metadata and controls
37 lines (36 loc) · 938 Bytes
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
services:
blogbee-db:
image: mongo
volumes:
- mongodb-data:/data/db
healthcheck:
test:
["CMD-SHELL", 'mongosh --eval ''db.adminCommand("ping")'' || exit 1']
interval: 10s
timeout: 5s
retries: 5
blogbee-backend:
image: ghcr.io/manish591/blogbee-backend
environment:
- LOG_LEVEL=info
- NODE_ENV=production
- DB_URL=mongodb://blogbee-db:27017/
depends_on:
- blogbee-db
deploy:
update_config:
order: start-first
blogbee-frontend:
image: ghcr.io/manish591/blogbee-frontend
depends_on:
- blogbee-backend
deploy:
update_config:
order: start-first
environment:
- NODE_ENV=production
- NEXT_PUBLIC_BASE_URL=https://blogbee.site
- NEXT_PUBLIC_API_URL=https://api.blogbee.site
- NEXT_PUBLIC_DOMAIN_NAME=blogbee.site
volumes:
mongodb-data: