feat:调整perfree-blog
This commit is contained in:
20
apps/perfree-blog/4.0.11/docker-compose.yml
Normal file
20
apps/perfree-blog/4.0.11/docker-compose.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
services:
|
||||
perfree-blog:
|
||||
image: "registry.cn-hangzhou.aliyuncs.com/perfree/perfree_blog:v4.0.11"
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_HTTP}:8080
|
||||
volumes:
|
||||
- "${DATA_PATH}:/perfree-server/resources"
|
||||
environment:
|
||||
SPRING_DATASOURCE_URL: jdbc:${PANEL_DB_TYPE}://${PANEL_DB_HOST}:${PANEL_DB_PORT}/${PANEL_DB_NAME}?useSSL=false&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&nullCatalogMeansCurrent=true
|
||||
SPRING_DATASOURCE_USERNAME: ${PANEL_DB_USER}
|
||||
SPRING_DATASOURCE_PASSWORD: ${PANEL_DB_USER_PASSWORD}
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
Reference in New Issue
Block a user