Commit 2e3b0b34 authored by D's avatar D Committed by GitHub

Merge pull request #12466 from luodaoyi/master

 feat(master): 增加docker-compose 部署
parents bc7337ee cfe20bff
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
!Dockerfile !Dockerfile
!gulpfile.js !gulpfile.js
!package.json !package.json
!docker-compose.yml
src/main/webapp/skins/* src/main/webapp/skins/*
!src/main/webapp/skins/mobile !src/main/webapp/skins/mobile
......
version: '3.1'
services:
web:
image: 88250/solo
restart: unless-stopped
ports:
- 8080:8080
environment:
SERVER_SCHMEA: https
SERVER_NAME: <your host>
SERVER_PORT: 80
EMAIL_ADDRESS: <your address>
EMAIL_PASSWORD: <your smtp password>
SMTP_HOST: <your smtp host>
SMTP_PROT: <your smtp port>
volumes:
- database:/opt/b3log/backup
volumes:
database:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment