feat(upload): modify memos & gitea version

This commit is contained in:
cnphpbb 2024-08-01 16:40:58 +08:00
parent 949044e6ee
commit a26dfc7bae
7 changed files with 59 additions and 2 deletions

View File

@ -1,2 +1,2 @@
IMAGE_TAG=gitea/gitea:1.22.0-rootless
IMAGE_TAG=gitea/gitea:1.22.1-rootless
Volumes_PATH=/data/volumes/gitea

2
hub-registry/env.cnf Normal file
View File

@ -0,0 +1,2 @@
IMAGE_TAG=hub.tp229.com:3500/registry:2.7
UI_IMAGE_TAG=hub.tp229.com:3500/cnphpbb/registry-ui:latest

20
hub-registry/stack.yaml Normal file
View File

@ -0,0 +1,20 @@
# run:: docker compose -p hub-registry --env-file ./hub-registry/env.cfg -f ./hub-registry/stack.yaml up -d
services:
registry:
image: ${IMAGE_TAG}
volumes:
- data:/var/lib/registry
ports:
- '3500:3500'
container_name: hub-registry
restart: unless-stopped
registy-ui:
image: ${UI_IMAGE_TAG}
container_name: hub-registry-ui
environment:
- NODE_ENV=production
- REGISTRY_DOMAIN=hub.tp229.com:3500
- REGISTRY_HOST=192.168.0.7:3500
- REGISTRY_STORAGE_DELETE_ENABLED=true

View File

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

View File

@ -9,6 +9,7 @@ services:
ports:
- '5230:5230'
container_name: memos
restart: always
environment:
- MEMOS_DRIVER=${DB_DRIVER}
- MEMOS_DSN=user=${DB_USER} password=${DB_PASSWORD} dbname=${DB_DATANAME} host=${DB_HOST} port=${DB_POST} sslmode=disable

1
webout/env.cfg Normal file
View File

@ -0,0 +1 @@
IMAGE_TAG=hub.tp229.com:3500/caddy:2.8.4

33
webout/webout.yaml Normal file
View File

@ -0,0 +1,33 @@
# run:: docker compose -p out-caddy --env-file ./webout/env.cfg -f ./webout/webout.yaml up -d
services:
web-out:
image: ${IMAGE_TAG}
volumes:
- caddy_data:/data
- caddy_config:/config
- /data/configs/caddy/web-http.conf:/etc/caddy/Caddyfile
ports:
- '443:443'
- '80:80'
container_name: web-out
restart: unless-stopped
environment:
- TZ=Asia/Shanghai
tp229-out:
image: ${IMAGE_TAG}
volumes:
- caddy_data:/data
- caddy_config:/config
- /data/configs/caddy/site-tp229.conf:/etc/caddy/Caddyfile
- /data/www-root:/www-root
- /data/soft:/var/www/soft
container_name: tp229-out
restart: unless-stopped
environment:
- TZ=Asia/Shanghai
volumes:
caddy_data:
caddy_config: