limour-dev il y a 5 mois
Parent
commit
337d270dbe

+ 2 - 0
source/_posts/2023-07-09-【记录】安装生信的代码编写环境.md

@@ -304,6 +304,7 @@ plot_ly(data = plot.data,
 
 ## 安装 notebook
 ```bash
+mkdir -p /home/limour/upload/home && echo `id -u gene`:`id -g gene`
 mkdir -p ~/app/notebook && cd ~/app/notebook && nano docker-compose.yml
 sudo docker-compose up -d && sudo docker-compose logs
 ```
@@ -312,6 +313,7 @@ version: '3'
 services:
   notebook:
     image: jupyter/r-notebook
+    user: "1001:1001"  # 替换为gene的UID和GID
     container_name: notebook
     restart: unless-stopped
     extra_hosts:

+ 1 - 0
source/_posts/2023-08-31-【记录】搭建远程edge浏览器.md

@@ -23,6 +23,7 @@ services:
     shm_size: "512m"
     environment:
       - VNC_PW=password
+      - LAUNCH_URL=http://wlrz.fudan.edu.cn
       - APP_ARGS=--start-maximized --no-sandbox
     image: kasmweb/edge:1.14.0