-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #165 from terwer/v4.x
feat:v4.0.1预发布
- Loading branch information
Showing
105 changed files
with
3,426 additions
and
27,053 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# 构建docker-compose项目 | ||
# docker compose --log-level INFO up -- build | ||
# docker compose --log-level INFO up -d --build | ||
|
||
version: '3' | ||
services: | ||
jvue-nginx: | ||
image: jvue/nginx:1.15.9 | ||
container_name: jvue-nginx | ||
build: | ||
context: ./ | ||
dockerfile: ./jvue-nginx/Dockerfile | ||
ports: | ||
- "80:80" | ||
volumes: | ||
- ./jvue-nginx/nginx.conf:/etc/nginx/conf.d/default.conf | ||
- ./data/nginx/log:/var/log/nginx | ||
restart: "no" | ||
jvue-server: | ||
image: jvue/server:4.0.1 | ||
container_name: jvue-server | ||
build: | ||
context: ./ | ||
dockerfile: ./jvue-server/Dockerfile | ||
ports: | ||
- "8002:8002" | ||
working_dir: /app | ||
command: mvn clean spring-boot:run -Dspring-boot.run.profiles=rds -DskipTests | ||
volumes: | ||
- ./jvue-server:/app | ||
- ./data/maven/.m2:/root/.m2 | ||
- ./data/server/logs:/logs | ||
restart: "no" | ||
jvue-front: | ||
container_name: jvue-front | ||
image: jvue/front:4.0.1 | ||
build: | ||
context: . | ||
dockerfile: ./jvue-front/Dockerfile | ||
ports: | ||
- "3000:3000" | ||
environment: | ||
- npm_config_unsafe_perm=true | ||
restart: "no" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.