[修改]修改了panel的dockerfile,变更为容器内运行

This commit is contained in:
makotocc0107
2024-09-23 17:11:31 +08:00
committed by Coding
parent d233af6f50
commit de4203668d
4 changed files with 62 additions and 11 deletions

View File

@@ -11,15 +11,17 @@ services:
depends_on:
- node-exporter
panel:
build: docker/panel
volumes:
- ./management-panel:/app
entrypoint: php artisan serve --host=0.0.0.0
build: management-panel
# volumes:
# - ./management-panel:/app
entrypoint: /app/entrypoint.sh
command: php artisan octane:start --server=swoole --workers=4 --host=0.0.0.0 --port=8000
ports:
- 8000:8000
depends_on:
- etcd
- prometheus
restart: always
node-exporter:
build: docker/node_exporter
# privileged: true
@@ -28,6 +30,4 @@ services:
volumes:
- '/:/host:ro'
opcua-exporter:
build: opcua-exporter
## volumes:
## - ./data:/data
build: opcua-exporter