mirror of
https://github.com/eiblog/eiblog.git
synced 2026-02-11 08:52:27 +08:00
refactor: refactor eiblog
This commit is contained in:
36
compose.yml
Normal file
36
compose.yml
Normal 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
|
||||
Reference in New Issue
Block a user