mirror of
https://github.com/cedar2025/Xboard.git
synced 2025-02-08 18:08:13 -05:00
update to new xboard
This commit is contained in:
parent
e22dfaf445
commit
30f55066c3
41
compose.yaml
Normal file
41
compose.yaml
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
services:
|
||||||
|
web:
|
||||||
|
build: .
|
||||||
|
volumes:
|
||||||
|
- ./.env:/www/
|
||||||
|
- redis-socket:/run/redis-socket
|
||||||
|
environment:
|
||||||
|
- docker=true
|
||||||
|
depends_on:
|
||||||
|
- redis
|
||||||
|
# network_mode: host
|
||||||
|
command: php artisan octane:start --server="swoole" --port=7001
|
||||||
|
restart: on-failure
|
||||||
|
ports:
|
||||||
|
- 7001:7001
|
||||||
|
horizon:
|
||||||
|
build: .
|
||||||
|
volumes:
|
||||||
|
- ./.env:/www/
|
||||||
|
- redis-socket:/run/redis-socket
|
||||||
|
restart: on-failure
|
||||||
|
# network_mode: host
|
||||||
|
command: php artisan horizon
|
||||||
|
depends_on:
|
||||||
|
- redis
|
||||||
|
redis:
|
||||||
|
image: redis:7-alpine
|
||||||
|
command: redis-server --appendonly yes --appendfsync everysec
|
||||||
|
restart: unless-stopped
|
||||||
|
volumes:
|
||||||
|
- ./.docker/.data/redis:/data
|
||||||
|
- redis-socket:/run/redis-socket
|
||||||
|
sysctls:
|
||||||
|
net.core.somaxconn: 1024
|
||||||
|
ulimits:
|
||||||
|
nproc: 65535
|
||||||
|
nofile:
|
||||||
|
soft: 20000
|
||||||
|
hard: 40000
|
||||||
|
volumes:
|
||||||
|
redis-socket:
|
Loading…
Reference in New Issue
Block a user