forked from DevOps/deploy.stack
Merge pull request '合并by250815的版本更新' (#3) from cnphpbb/deploy.stack:main into main
Reviewed-on: DevOps/deploy.stack#3
This commit is contained in:
@@ -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'
|
||||
@@ -1 +1 @@
|
||||
IMAGE_TAG=debian:12
|
||||
IMAGE_TAG=debian:13
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
13
builder/nodejs/compose.yml
Normal file
13
builder/nodejs/compose.yml
Normal file
@@ -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
|
||||
@@ -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:
|
||||
|
||||
11
dbSer/redis/valkey.stack.yml
Normal file
11
dbSer/redis/valkey.stack.yml
Normal file
@@ -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'
|
||||
19
webout/myproxy.yml
Normal file
19
webout/myproxy.yml
Normal file
@@ -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:
|
||||
Reference in New Issue
Block a user