feat: 修改一些软件的配置文件

This commit is contained in:
zhengkunwang223 2023-03-11 12:27:32 +08:00
parent 722dface7b
commit 3a18a5f5c0
14 changed files with 27 additions and 33 deletions

View File

@ -2,6 +2,7 @@ version: '3'
services: services:
dataease: dataease:
image: registry.cn-qingdao.aliyuncs.com/dataease/dataease:v1.18.2 image: registry.cn-qingdao.aliyuncs.com/dataease/dataease:v1.18.2
restart: always
container_name: ${CONTAINER_NAME} container_name: ${CONTAINER_NAME}
ports: ports:
- ${PANEL_APP_PORT_HTTP}:8081 - ${PANEL_APP_PORT_HTTP}:8081

View File

@ -2,7 +2,7 @@
"formFields": [ "formFields": [
{ {
"type": "text", "type": "text",
"labelZh": "访问地址", "labelZh": "域名或IP",
"labelEn": "Address", "labelEn": "Address",
"required": true, "required": true,
"default": "", "default": "",

View File

@ -6,6 +6,7 @@ services:
restart: always restart: always
hostname: ${GITLAB_HOSTNAME} hostname: ${GITLAB_HOSTNAME}
environment: environment:
TZ: 'Asia/Shanghai'
GITLAB_OMNIBUS_CONFIG: | GITLAB_OMNIBUS_CONFIG: |
external_url 'http://${GITLAB_HOSTNAME}:${PANEL_APP_PORT_HTTP}' external_url 'http://${GITLAB_HOSTNAME}:${PANEL_APP_PORT_HTTP}'
ports: ports:

View File

@ -1,5 +1,4 @@
{ {
"formFields": [ "formFields": [
{ {
"type": "apps", "type": "apps",
@ -43,7 +42,8 @@
"default": "halo", "default": "halo",
"random": true, "random": true,
"rule": "paramCommon", "rule": "paramCommon",
"envKey": "PANEL_DB_NAME" "envKey": "PANEL_DB_NAME",
"edit": true
}, },
{ {
"type": "text", "type": "text",
@ -53,7 +53,8 @@
"default": "halo", "default": "halo",
"random": true, "random": true,
"rule": "paramCommon", "rule": "paramCommon",
"envKey": "PANEL_DB_USER" "envKey": "PANEL_DB_USER",
"edit": true
}, },
{ {
"type": "password", "type": "password",
@ -63,7 +64,8 @@
"default": "halo", "default": "halo",
"random": true, "random": true,
"rule": "paramComplexity", "rule": "paramComplexity",
"envKey": "PANEL_DB_USER_PASSWORD" "envKey": "PANEL_DB_USER_PASSWORD",
"edit": true
}, },
{ {
"type": "text", "type": "text",
@ -73,7 +75,8 @@
"default": "admin", "default": "admin",
"random": true, "random": true,
"rule": "paramCommon", "rule": "paramCommon",
"envKey": "HALO_ADMIN" "envKey": "HALO_ADMIN",
"edit": true
}, },
{ {
"type": "password", "type": "password",
@ -83,7 +86,8 @@
"default": "halo", "default": "halo",
"random": true, "random": true,
"rule": "paramComplexity", "rule": "paramComplexity",
"envKey": "HALO_ADMIN_PASSWORD" "envKey": "HALO_ADMIN_PASSWORD",
"edit": true
}, },
{ {
"type": "text", "type": "text",
@ -92,7 +96,8 @@
"required": true, "required": true,
"default": "http://localhost:8080", "default": "http://localhost:8080",
"rule": "paramExtUrl", "rule": "paramExtUrl",
"envKey": "HALO_EXTERNAL_URL" "envKey": "HALO_EXTERNAL_URL",
"edit": true
}, },
{ {
"type": "number", "type": "number",
@ -101,7 +106,8 @@
"required": true, "required": true,
"default": 8080, "default": 8080,
"rule": "paramPort", "rule": "paramPort",
"envKey": "PANEL_APP_PORT_HTTP" "envKey": "PANEL_APP_PORT_HTTP",
"edit": true
} }
] ]
} }

View File

@ -7,7 +7,7 @@ services:
networks: networks:
- 1panel-network - 1panel-network
volumes: volumes:
- ./data:/root/.halo - ./data:/root/.halo2
ports: ports:
- ${PANEL_APP_PORT_HTTP}:8090 - ${PANEL_APP_PORT_HTTP}:8090
command: command:

View File

@ -1,5 +1,4 @@
{ {
"formFields": [ "formFields": [
{ {
"type": "apps", "type": "apps",

View File

@ -7,7 +7,7 @@ services:
networks: networks:
- 1panel-network - 1panel-network
volumes: volumes:
- ./data:/root/.halo - ./data:/root/.halo2
ports: ports:
- ${PANEL_APP_PORT_HTTP}:8090 - ${PANEL_APP_PORT_HTTP}:8090
command: command:

View File

@ -3,7 +3,7 @@ services:
jenkins: jenkins:
container_name: ${CONTAINER_NAME} container_name: ${CONTAINER_NAME}
image: jenkins/jenkins:2.391 image: jenkins/jenkins:2.391
restart: unless-stopped restart: always
privileged: true privileged: true
user: root user: root
ports: ports:

View File

@ -168,20 +168,6 @@
"github": "https://github.com/jenkinsci/jenkins", "github": "https://github.com/jenkinsci/jenkins",
"document": "https://www.jenkins.io/doc/book/" "document": "https://www.jenkins.io/doc/book/"
}, },
{
"key": "gitlab",
"name": "GitLab",
"tags": ["CI/CD"],
"versions": ["15.8.3"],
"shortDescZh": "项目管理和代码托管平台",
"shortDescEn": "Project management and code hosting platform",
"type": "tool",
"limit": 1,
"crossVersionUpdate": false,
"website": "https://about.gitlab.com/",
"github": "https://github.com/gitlabhq/gitlabhq",
"document": "https://docs.gitlab.com/"
},
{ {
"key": "postgresql", "key": "postgresql",
"name": "PostgreSQL", "name": "PostgreSQL",

View File

@ -2,6 +2,7 @@ version: '3'
services: services:
mariadb: mariadb:
container_name: ${CONTAINER_NAME} container_name: ${CONTAINER_NAME}
restart: always
networks: networks:
- 1panel-network - 1panel-network
image: "mariadb:10.9.5" image: "mariadb:10.9.5"

View File

@ -3,6 +3,7 @@ services:
mongodb: mongodb:
container_name: ${CONTAINER_NAME} container_name: ${CONTAINER_NAME}
image: mongo:6.0.4 image: mongo:6.0.4
restart: always
environment: environment:
MONGO_INITDB_ROOT_USERNAME: ${PANEL_DB_ROOT_USER} MONGO_INITDB_ROOT_USERNAME: ${PANEL_DB_ROOT_USER}
MONGO_INITDB_ROOT_PASSWORD: ${PANEL_DB_ROOT_PASSWORD} MONGO_INITDB_ROOT_PASSWORD: ${PANEL_DB_ROOT_PASSWORD}

View File

@ -1,20 +1,16 @@
user root; user root;
worker_processes auto; worker_processes auto;
error_log /var/log/nginx/error.log notice; error_log /var/log/nginx/error.log notice;
error_log /dev/stdout notice; error_log /dev/stdout notice;
pid /var/run/nginx.pid; pid /var/run/nginx.pid;
events { events {
worker_connections 1024; worker_connections 1024;
} }
http { http {
include mime.types; include mime.types;
default_type application/octet-stream; default_type application/octet-stream;
log_format main '$remote_addr - $remote_user [$time_local] "$request" ' log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" ' '$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"'; '"$http_user_agent" "$http_x_forwarded_for"';
@ -38,11 +34,13 @@ http {
gzip_proxied expired no-cache no-store private auth; gzip_proxied expired no-cache no-store private auth;
gzip_disable "MSIE [1-6]\."; gzip_disable "MSIE [1-6]\.";
lua_code_cache on; lua_code_cache on;
lua_shared_dict limit 10m; lua_shared_dict limit 10m;
lua_package_path "/www/common/waf/?.lua;/usr/local/openresty/lualib/?.lua;"; lua_package_path "/www/common/waf/?.lua;/usr/local/openresty/lualib/?.lua;";
init_by_lua_file /www/common/waf/init.lua; init_by_lua_file /www/common/waf/init.lua;
limit_conn_zone $binary_remote_addr zone=perip:10m;
limit_conn_zone $server_name zone=perserver:10m;
include /usr/local/openresty/nginx/conf/conf.d/*.conf; include /usr/local/openresty/nginx/conf/conf.d/*.conf;
} }

View File

@ -3,6 +3,7 @@ services:
phpmyadmin: phpmyadmin:
image: phpmyadmin/phpmyadmin:5.2.0 image: phpmyadmin/phpmyadmin:5.2.0
container_name: ${CONTAINER_NAME} container_name: ${CONTAINER_NAME}
restart: always
ports: ports:
- ${PANEL_APP_PORT_HTTP}:80 - ${PANEL_APP_PORT_HTTP}:80
environment: environment:

View File

@ -8,7 +8,7 @@ services:
- 1panel-network - 1panel-network
ports: ports:
- ${PANEL_APP_PORT_HTTP}:6379 - ${PANEL_APP_PORT_HTTP}:6379
command: redis-server /etc/redis/redis.conf --save 20 1 --loglevel warning --requirepass ${PANEL_DB_ROOT_PASSWORD} command: redis-server /etc/redis/redis.conf --loglevel warning --requirepass ${PANEL_DB_ROOT_PASSWORD}
volumes: volumes:
- ./data:/data - ./data:/data
- ./conf/redis.conf:/etc/redis/redis.conf - ./conf/redis.conf:/etc/redis/redis.conf