Update compose.yaml

This commit is contained in:
Xboard 2025-01-07 13:41:15 +08:00 committed by GitHub
parent 69c374ee17
commit b35705731d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,6 +5,7 @@ services:
- type: bind - type: bind
source: ${PWD}/.env source: ${PWD}/.env
target: /www/.env target: /www/.env
- ./.docker/.data/:/www/.data
environment: environment:
- docker=true - docker=true
depends_on: depends_on:
@ -20,6 +21,7 @@ services:
- type: bind - type: bind
source: ${PWD}/.env source: ${PWD}/.env
target: /www/.env target: /www/.env
- ./.docker/.data/:/www/.data
restart: on-failure restart: on-failure
# network_mode: host # network_mode: host
command: php artisan horizon command: php artisan horizon