私有docker配置
This commit is contained in:
26
docker-compose.private.yml
Normal file
26
docker-compose.private.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
services:
|
||||
backend:
|
||||
image: docker.aizhangz.top/ems-backend:latest
|
||||
ports:
|
||||
- "8080:8080"
|
||||
environment:
|
||||
APP_BASE_URL: ${APP_BASE_URL:-http://localhost:5173}
|
||||
TOKEN_SIGNING_KEY: ${TOKEN_SIGNING_KEY:-}
|
||||
JWT_SECRET: ${JWT_SECRET:-}
|
||||
VOLCANO_API_KEY: ${VOLCANO_API_KEY:-}
|
||||
SPRING_MAIL_USERNAME: ${SPRING_MAIL_USERNAME:-}
|
||||
SPRING_MAIL_PASSWORD: ${SPRING_MAIL_PASSWORD:-}
|
||||
volumes:
|
||||
- ems_json_db:/app/json-db
|
||||
- ems_uploads:/app/uploads
|
||||
|
||||
frontend:
|
||||
image: docker.aizhangz.top/ems-frontend:latest
|
||||
ports:
|
||||
- "5173:80"
|
||||
depends_on:
|
||||
- backend
|
||||
|
||||
volumes:
|
||||
ems_json_db:
|
||||
ems_uploads:
|
||||
Reference in New Issue
Block a user