chore(docker): 更新 Docker Compose 配置
This commit is contained in:
parent
e5f412f2cd
commit
988fceff00
@ -11,10 +11,7 @@ services:
|
||||
- "com.centurylinklabs.watchtower.enable=true"
|
||||
ports:
|
||||
- "${WEB_PORT}:3010"
|
||||
read_only: true
|
||||
volumes:
|
||||
# 这一行是关键。它将一个名为 './data/forend/.pm2' 的持久化卷挂载到容器内的 /app/.pm2 目录
|
||||
- ./data/forend/.pm2:/app/.pm2
|
||||
# read_only: true
|
||||
networks:
|
||||
easyai:
|
||||
ipv4_address: 172.21.0.8
|
||||
@ -54,7 +51,7 @@ services:
|
||||
- "com.centurylinklabs.watchtower.enable=true"
|
||||
ports:
|
||||
- "${SERVER_HTTP_PORT}:3001" #http端口
|
||||
read_only: true
|
||||
# read_only: true
|
||||
networks:
|
||||
easyai:
|
||||
ipv4_address: 172.21.0.6
|
||||
|
||||
Loading…
Reference in New Issue
Block a user