[修改]数据映射

This commit is contained in:
10908
2024-10-09 15:43:28 +08:00
committed by Coding
parent f8dbe17c6a
commit 13467b75d2
7 changed files with 96 additions and 2 deletions

View File

@@ -5,8 +5,14 @@ services:
- 2379:2379
- 2380:2370
network_mode: host
volumes:
- ./data/etcd/data:/var/lib/etcd
- ./data/etcd/etc:/etc/etcd
prometheus:
build: docker/prometheus
volumes:
- ./data/prometheus/etc/prometheus:/etc/prometheus
- ./data/prometheus/etc/supervisord:/etc/supervisord
ports:
- 9090:9090
depends_on:
@@ -15,7 +21,8 @@ services:
panel:
build: management-panel
volumes:
- '/var/run/dbus/system_bus_socket:/var/run/dbus/system_bus_socket'
- ./data/panel/storage/app:/app/storage/app
- /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: