refactor: refactor eiblog

This commit is contained in:
henry.chen
2025-07-16 19:45:50 +08:00
parent 0a410f09f3
commit 8fcabd5e15
67 changed files with 1282 additions and 1330 deletions

36
compose.yml Normal file
View File

@@ -0,0 +1,36 @@
services:
mongodb:
image: mongo:3.2
volumes:
- ${PWD}/mgodb:/data/db
restart: always
elasticsearch:
image: deepzz0/elasticsearch:2.4.1
volumes:
- ${PWD}/esdata:/usr/share/elasticsearch/data
restart: always
eiblog:
image: deepzz0/eiblog:latest
volumes:
- ${PWD}/conf:/app/conf
extra_hosts:
- "disqus.com:151.101.192.134"
- "deepzz.disqus.com:151.101.192.134"
links:
- elasticsearch
- mongodb
environment:
- RUN_MODE=prod
ports:
- 127.0.0.1:9000:9000
restart: always
backup:
image: deepzz0/backup:latest
#command: ./backend --restore true
volumes:
- ${PWD}/conf:/app/conf
links:
- mongodb
restart: always