[修改]修改并基本实现了网络配置功能

This commit is contained in:
makotocc0107
2024-09-26 16:37:52 +08:00
committed by Coding
parent 491b2265d2
commit d0b379eab1
2 changed files with 106 additions and 4 deletions

View File

@@ -14,8 +14,8 @@ services:
network_mode: host
panel:
build: management-panel
# volumes:
# - ./management-panel:/app
volumes:
- '/var/run/dbus/system_bus_socket:/var/run/dbus/system_bus_socket'
entrypoint: /app/entrypoint.sh
command: php artisan octane:start --server=swoole --workers=4 --host=0.0.0.0 --port=8000
ports:
@@ -25,6 +25,7 @@ services:
- prometheus
restart: always
network_mode: host
privileged: true
node-exporter:
build: docker/node_exporter
# privileged: true