Skip to content

Commit

Permalink
增加gitlab管理npm私有包
Browse files Browse the repository at this point in the history
  • Loading branch information
LinTx committed Jan 8, 2025
1 parent 7da5d4d commit 60fde46
Show file tree
Hide file tree
Showing 11 changed files with 268 additions and 89 deletions.
10 changes: 10 additions & 0 deletions .idea/UniappTool.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .idea/lintx.github.io.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

171 changes: 88 additions & 83 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion genshin/calc1/calc1.html

This file was deleted.

1 change: 0 additions & 1 deletion genshin/calc1/static/css/0.css

This file was deleted.

1 change: 0 additions & 1 deletion genshin/calc1/static/css/1.css

This file was deleted.

1 change: 0 additions & 1 deletion genshin/calc1/static/css/2.css

This file was deleted.

1 change: 0 additions & 1 deletion genshin/calc1/tool.html

This file was deleted.

22 changes: 22 additions & 0 deletions node/PostgreSQL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
1.运行

建立以下`docker-compose.yml`文件,并使用`docker compose up -d`运行

```
version: '3.8'
services:
postgres:
image: 'postgres:latest'
container_name: postgres
restart: always
environment:
POSTGRES_PASSWORD: postgres
ports:
- '5432:5432'
#network_mode: "host"
volumes:
- ./data:/var/lib/postgresql/data
```

必须在环境变量中设置密码,否则无法启动,会一直重启

2 changes: 1 addition & 1 deletion node/使用docker+Jenkins持续集成.md
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ cat /home/git/.ssh/id_rsa.pub >> /data/docker/gitlab/data/.ssh/authorized_keys
5. 然后使用`docker compose exec gitlab bash`命令进入容器。
6. 再在容器内使用`gitlab-rake gitlab:backup:restore`命令恢复数据。
7. 恢复数据开始后会提示是否恢复数据,请确保本机的gitlab中没有重要数据。
8. 如在恢复数据后需要将gitlab的版本升级,请参考升级指南`https://docs.gitlab.com/ee/update/index.html`,按照升级指南的版本一步步升级,否则可能造成文件损坏
8. 如在恢复数据后需要将gitlab的版本升级,请参考升级指南`https://docs.gitlab.com/ee/update/index.html` ,按照升级指南的版本一步步升级,否则可能造成文件损坏

> 恢复数据或升级版本后,在浏览器打开gitlab网页,确认可以进行登录之后再停止容器,然后修改`docker-compose.yml`文件中的版本号,再启动容器,依次升级,千万不要在还不能登录时就停止容器,否则会造成文件损坏。
Expand Down
Loading

0 comments on commit 60fde46

Please sign in to comment.