File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11services :
2+ reverse-proxy :
3+ image : traefik:v3.5
4+ command :
5+ - " --api.insecure=true"
6+ - " --providers.docker=true"
7+ - " --entrypoints.web.address=:80"
8+ ports :
9+ - " 80:80"
10+ volumes :
11+ - /var/run/docker.sock:/var/run/docker.sock
12+ restart : unless-stopped
213 blogbee-db :
314 image : mongo
4- ports :
5- - 27017:27017
615 volumes :
716 - mongodb-data:/data/db
17+ healthcheck :
18+ test : ["CMD-SHELL", "mongosh --eval 'db.adminCommand(\"ping\")' || exit 1"]
19+ interval : 10s
20+ timeout : 5s
21+ retries : 5
822 blogbee-backend :
923 image : ghcr.io/manish591/blogbee-backend
10- ports :
11- - 8000:8000
24+ labels :
25+ - " traefik.http.routers.blogbee-backend.rule=HOST(`api.blogbee.site`) "
1226 environment :
27+ - LOG_LEVEL=info
28+ - NODE_ENV=production
1329 - DB_URL=mongodb://blogbee-db:27017/
1430 depends_on :
15- - blogbee-db
31+ blogbee-db :
32+ condition : service_healthy
1633 blogbee-frontend :
1734 image : ghcr.io/manish591/blogbee-frontend
18- ports :
19- - 3000:3000
35+ labels :
36+ - " traefik.http.routers.blogbee-frontend.rule=HOST(`blogbee.site`) "
2037 depends_on :
2138 - blogbee-backend
39+ environment :
40+ - NODE_ENV=production
41+ - NEXT_PUBLIC_BASE_URL=https://blogbee.site
42+ - NEXT_PUBLIC_API_URL=https://api.blogbee.site
43+ - NEXT_PUBLIC_DOMAIN_NAME=blogbee.site
2244
2345volumes :
2446 mongodb-data:
You can’t perform that action at this time.
0 commit comments