2023-11-23 00:29:30 -05:00
|
|
|
services:
|
2025-01-06 12:20:11 -05:00
|
|
|
web:
|
2025-01-07 00:59:45 -05:00
|
|
|
image: ghcr.io/cedar2025/xboard:new
|
2023-11-23 00:29:30 -05:00
|
|
|
volumes:
|
2025-01-08 23:21:21 -05:00
|
|
|
- ./.docker/.data/redis/:/run/redis-socket
|
2023-11-23 00:29:30 -05:00
|
|
|
- ./:/www/
|
|
|
|
environment:
|
2025-01-06 12:20:11 -05:00
|
|
|
- docker=true
|
|
|
|
depends_on:
|
|
|
|
- redis
|
|
|
|
network_mode: host
|
2025-01-08 23:21:21 -05:00
|
|
|
command: php artisan octane:start --server="swoole" --port=7001 --host=0.0.0.0
|
2025-01-06 12:20:11 -05:00
|
|
|
restart: on-failure
|
|
|
|
horizon:
|
2025-01-06 23:56:29 -05:00
|
|
|
image: ghcr.io/cedar2025/xboard:new
|
2025-01-06 12:20:11 -05:00
|
|
|
volumes:
|
2025-01-08 23:21:21 -05:00
|
|
|
- ./.docker/.data/redis/:/run/redis-socket
|
2025-01-06 12:58:53 -05:00
|
|
|
- ./:/www/
|
2025-01-06 12:20:11 -05:00
|
|
|
restart: on-failure
|
|
|
|
network_mode: host
|
|
|
|
command: php artisan horizon
|
2023-11-23 00:29:30 -05:00
|
|
|
depends_on:
|
|
|
|
- redis
|
|
|
|
redis:
|
2025-01-07 00:29:09 -05:00
|
|
|
image: redis:7-alpine
|
2025-01-08 23:21:21 -05:00
|
|
|
command: redis-server --unixsocket /data/redis.sock --unixsocketperm 777 --save 900 1 --save 300 10 --save 60 10000
|
2025-01-06 23:46:15 -05:00
|
|
|
restart: unless-stopped
|
2023-11-23 00:29:30 -05:00
|
|
|
volumes:
|
2025-01-06 23:46:15 -05:00
|
|
|
- ./.docker/.data/redis:/data
|
|
|
|
sysctls:
|
2025-01-08 23:21:21 -05:00
|
|
|
net.core.somaxconn: 1024
|