diff --git a/base/redis/valkey.stack.yml b/base/redis/valkey.stack.yml deleted file mode 100644 index 6b969a2..0000000 --- a/base/redis/valkey.stack.yml +++ /dev/null @@ -1,11 +0,0 @@ -# Pull: docker compose -p valkey --env-file ./base/redis/env.cfg -f ./base/redis/valkey.stack.yml pull - -# Run:: docker compose -p valkey --env-file ./base/redis/env.cfg -f ./base/redis/valkey.stack.yml up -d -services: - redis: - image: ${IMAGE_TAG_VALKEYV8} - ports: - - '6379:6379' - command: valkey-server --appendonly yes - volumes: - - '${Volumes_PATH}/redis:/data' \ No newline at end of file diff --git a/builder/debian/env.cnf b/builder/debian/env.cnf index b5ddcb7..1ca3420 100644 --- a/builder/debian/env.cnf +++ b/builder/debian/env.cnf @@ -1 +1 @@ -IMAGE_TAG=debian:12 \ No newline at end of file +IMAGE_TAG=debian:13 \ No newline at end of file diff --git a/builder/golang/compose.yml b/builder/golang/compose.yml index 7bfd932..887dd8d 100644 --- a/builder/golang/compose.yml +++ b/builder/golang/compose.yml @@ -10,7 +10,7 @@ services: tty: true command: bash volumes: - - ${Volumes_Path}/mygits:/app + - ${Volumes_Path}/${PROJECT_NAME}:/app working_dir: /app environment: - GOPROXY=https://goproxy.cn,direct diff --git a/builder/golang/env.cnf b/builder/golang/env.cnf index 1c46af6..46ff4c2 100644 --- a/builder/golang/env.cnf +++ b/builder/golang/env.cnf @@ -1,5 +1,3 @@ -IMAGE_TAG_BASH=golang:1.23.5-bookworm -IMAGE_TAG_ASH=golang:1.23.5-alpine -#IMAGE_TAG_BASH=golang:1.22.11-bookworm -#IMAGE_TAG_ASH=golang:1.22.11-alpine +IMAGE_TAG_BASH=golang:1.25.0-trixie +IMAGE_TAG_ASH=golang:1.25.0-alpine Volumes_Path=/data/volumes \ No newline at end of file diff --git a/builder/nodejs/compose.yml b/builder/nodejs/compose.yml new file mode 100644 index 0000000..2c23976 --- /dev/null +++ b/builder/nodejs/compose.yml @@ -0,0 +1,13 @@ +# run:: docker compose -p memos --env-file ./builder/nodejs/env.cfg -f ./builder/nodejs/compose.yml up -d + +services: + + golang: + image: ${IMAGE_TAG_BASH} + container_name: "build-nodejs" + restart: always + tty: true + command: bash + volumes: + - ${Volumes_Path}/${PROJECT_NAME}:/app + working_dir: /app \ No newline at end of file diff --git a/dbSer/mysql/prod.stack.yml b/dbSer/mysql/prod.stack.yml index 5b3ab28..fdfb538 100644 --- a/dbSer/mysql/prod.stack.yml +++ b/dbSer/mysql/prod.stack.yml @@ -1,9 +1,9 @@ # Pull:: docker compose --env-file ./dbSer/mysql/env.cfg -f ./dbSer/mysql/prod.stack.yml pull -# Run:: docker compose -p dbSer --env-file ./dbSer/mysql/env.cfg -f ./dbSer/mysql/prod.stack.yml up -d +# Run:: docker compose -p mysql --env-file ./dbSer/mysql/env.cfg -f ./dbSer/mysql/prod.stack.yml up -d services: mysql: - image: ${IMAGE_TAG_LTS} + image: ${IMAGE_TAG_V9} container_name: prod-mysql restart: always environment: @@ -15,8 +15,8 @@ services: - /etc/localtime:/etc/localtime:ro ports: - "3306:3306" - command: - #command: --character-set-server=utf8mb4 --collation-server=utf8mb4_general_ci --default-authentication-plugin=mysql_native_password + #command: + command: --character-set-server=utf8mb4 --collation-server=utf8mb4_general_ci volumes: mysql_data: diff --git a/base/redis/redis.stack.yml b/dbSer/redis/redis.stack.yml similarity index 100% rename from base/redis/redis.stack.yml rename to dbSer/redis/redis.stack.yml diff --git a/dbSer/redis/valkey.stack.yml b/dbSer/redis/valkey.stack.yml new file mode 100644 index 0000000..f06dc53 --- /dev/null +++ b/dbSer/redis/valkey.stack.yml @@ -0,0 +1,11 @@ +# Pull: docker compose -p valkey --env-file ./dbSer/redis/env.cfg -f ./dbSer/redis/valkey.stack.yml pull + +# Run:: docker compose -p valkey --env-file ./dbSer/redis/env.cfg -f ./dbSer/redis/valkey.stack.yml up -d +services: + redis: + image: ${IMAGE_TAG_VALKEYV8} + ports: + - '6379:6379' + command: valkey-server --appendonly yes --requirepass ${REDIS_PASSWORD} + volumes: + - '${Volumes_PATH}/redis:/data' \ No newline at end of file diff --git a/webout/myproxy.yml b/webout/myproxy.yml new file mode 100644 index 0000000..fc3cbcd --- /dev/null +++ b/webout/myproxy.yml @@ -0,0 +1,19 @@ +# run:: docker compose -p out-caddy --env-file ./webout/env.cfg -f ./webout/myproxy.yml up -d + +services: + web-out: + image: ${IMAGE_TAG} + volumes: + - caddy_data:/data + - caddy_config:/config + - /data/configs/caddy/myproxy.conf:/etc/caddy/Caddyfile + ports: + - '8080:80' + container_name: web-out + restart: unless-stopped + environment: + - TZ=Asia/Shanghai + +volumes: + caddy_data: + caddy_config: \ No newline at end of file