add git ignore
This commit is contained in:
parent
136b7710f8
commit
eb78ec6e48
|
|
@ -0,0 +1,2 @@
|
|||
*.log
|
||||
*.db
|
||||
|
|
@ -3,6 +3,7 @@ services:
|
|||
edge-proxy:
|
||||
image: 192.168.0.75:3000/guanyuankai/bonus-edge-proxy:latest
|
||||
container_name: edge-proxy-prod
|
||||
restart: unless-stopped
|
||||
platform: linux/arm64
|
||||
network_mode: "host"
|
||||
privileged: true
|
||||
|
|
@ -21,12 +22,7 @@ services:
|
|||
- "110"
|
||||
- "29"
|
||||
volumes:
|
||||
# ----------------- (关键变更) -----------------
|
||||
# 不再使用 - ./prod_config:/app/config
|
||||
# 改为使用 Docker 命名卷 'prod_config_data'
|
||||
# 这将自动使用镜像中的 /app/config 作为初始数据
|
||||
- prod_config_data:/app/config
|
||||
# ----------------- (变更结束) -----------------
|
||||
|
||||
- /tmp/.X11-unix:/tmp/.X11-unix:rw
|
||||
environment:
|
||||
|
|
@ -40,6 +36,7 @@ services:
|
|||
media-gateway:
|
||||
image: bluenviron/mediamtx:latest
|
||||
container_name: media-gateway
|
||||
restart: unless-stopped
|
||||
network_mode: "host"
|
||||
privileged: true
|
||||
volumes:
|
||||
|
|
@ -56,8 +53,6 @@ services:
|
|||
- ./mosquitto/data:/mosquitto/data
|
||||
- ./mosquitto/log:/mosquitto/log
|
||||
|
||||
# ----------------- (关键变更) -----------------
|
||||
# 在 'services:' 之外的顶层定义 'prod_config_data'
|
||||
|
||||
volumes:
|
||||
prod_config_data:
|
||||
# ----------------- (变更结束) -----------------
|
||||
prod_config_data:
|
||||
Loading…
Reference in New Issue