up(ver): update version

This commit is contained in:
cnphpbb 2025-01-16 15:00:58 +08:00
parent 811252f08a
commit b6378e9bdc
7 changed files with 2156 additions and 4 deletions

18
etc/docker/daemon.json Normal file
View File

@ -0,0 +1,18 @@
{
"registry-mirrors": [
"https://docker.m.daocloud.io",
"https://hub.urlsa.us.kg",
"https://hub.haod.eu.org",
"https://hub.chxza.eu.org",
"https://hub.rat.dev"
],
"data-root":"/data/docker",
"log-driver":"json-file",
"log-opts": {
"max-size":"30m",
"max-file":"5"
},
"insecure-registries": [
"hub.tp229.com:3500"
]
}

View File

@ -1,4 +1,4 @@
IMAGE_TAG=gitea/gitea:1.22.6-rootless IMAGE_TAG=gitea/gitea:1.23.1-rootless
Volumes_PATH=/data/volumes/gitea Volumes_PATH=/data/volumes/gitea
LAY_SSH_HOST_PORT=22 LAY_SSH_HOST_PORT=22
SSH_HOST_PORT=2222 SSH_HOST_PORT=2222

View File

@ -1,4 +1,4 @@
IMAGE_TAG=neosmemo/memos:0.22.5 IMAGE_TAG=neosmemo/memos:0.23.0
Volumes_Path=/data/volumes/memos Volumes_Path=/data/volumes/memos
DB_DRIVER=postgres DB_DRIVER=postgres
DB_USER=postgres DB_USER=postgres

View File

@ -12,7 +12,7 @@ services:
TZ: Asia/Shanghai TZ: Asia/Shanghai
MYSQL_ROOT_PASSWORD: Papa#20140924 MYSQL_ROOT_PASSWORD: Papa#20140924
volumes: volumes:
- ./mysqldata:/var/lib/mysql/ - /data/volumes/n9e/mysqldata:/var/lib/mysql/
- ../initsql:/docker-entrypoint-initdb.d/ - ../initsql:/docker-entrypoint-initdb.d/
- ./etc-mysql/my.cnf:/etc/my.cnf - ./etc-mysql/my.cnf:/etc/my.cnf
networks: networks:

View File

@ -83,7 +83,7 @@ RSAPassWord = "n9e@n9e!"
[DB] [DB]
# postgres: DSN="host=127.0.0.1 port=5432 user=root dbname=n9e_v6 password=1234 sslmode=disable" # postgres: DSN="host=127.0.0.1 port=5432 user=root dbname=n9e_v6 password=1234 sslmode=disable"
DSN="root:1234@tcp(mysql:3306)/n9e_v6?charset=utf8mb4&parseTime=True&loc=Local&allowNativePasswords=true" DSN="root:Papa#20140924@tcp(mysql:3306)/n9e_v6?charset=utf8mb4&parseTime=True&loc=Local&allowNativePasswords=true"
# enable debug mode or not # enable debug mode or not
Debug = false Debug = false
# mysql postgres # mysql postgres

2124
n9e/initsql/a-n9e.sql Normal file

File diff suppressed because it is too large Load Diff

10
n9e/initsql/c-init.sql Normal file
View File

@ -0,0 +1,10 @@
CREATE USER IF NOT EXISTS 'root'@'127.0.0.1' IDENTIFIED BY '1234';
GRANT ALL PRIVILEGES ON *.* TO 'root'@'127.0.0.1' WITH GRANT OPTION;
CREATE USER IF NOT EXISTS 'root'@'localhost' IDENTIFIED BY '1234';
GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' WITH GRANT OPTION;
CREATE USER IF NOT EXISTS 'root'@'%' IDENTIFIED BY '1234';
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' WITH GRANT OPTION;
FLUSH PRIVILEGES;