2025-01-07 00:06:38 -05:00
|
|
|
services:
|
|
|
|
web:
|
2025-01-07 00:08:09 -05:00
|
|
|
image: ghcr.io/cedar2025/xboard:new
|
2025-01-07 00:06:38 -05:00
|
|
|
volumes:
|
2025-01-10 00:30:02 -05:00
|
|
|
- ./.docker/.data/redis/:/data/
|
2025-01-08 23:17:13 -05:00
|
|
|
- ./.env:/www/.env
|
2025-01-07 00:50:57 -05:00
|
|
|
- ./.docker/.data/:/www/.docker/.data
|
2025-01-08 12:41:53 -05:00
|
|
|
- ./public/theme/:/www/public/theme/
|
2025-01-10 01:39:37 -05:00
|
|
|
- ./storage/logs:/www/storage/logs
|
2025-01-07 00:06:38 -05:00
|
|
|
environment:
|
|
|
|
- docker=true
|
|
|
|
depends_on:
|
|
|
|
- redis
|
|
|
|
# network_mode: host
|
2025-01-10 00:30:02 -05:00
|
|
|
command: php artisan octane:start --server="swoole" --host=0.0.0.0
|
2025-01-07 00:06:38 -05:00
|
|
|
restart: on-failure
|
|
|
|
ports:
|
2025-01-08 23:17:13 -05:00
|
|
|
- 7001:7001
|
2025-01-07 00:06:38 -05:00
|
|
|
horizon:
|
2025-01-07 00:08:09 -05:00
|
|
|
image: ghcr.io/cedar2025/xboard:new
|
2025-01-07 00:06:38 -05:00
|
|
|
volumes:
|
2025-01-10 00:30:02 -05:00
|
|
|
- ./.docker/.data/redis/:/data/
|
2025-01-08 23:17:13 -05:00
|
|
|
- ./.env:/www/.env
|
2025-01-07 00:50:57 -05:00
|
|
|
- ./.docker/.data/:/www/.docker/.data
|
2025-01-10 01:39:37 -05:00
|
|
|
- ./storage/logs:/www/storage/logs
|
2025-01-07 00:06:38 -05:00
|
|
|
restart: on-failure
|
|
|
|
# network_mode: host
|
|
|
|
command: php artisan horizon
|
|
|
|
depends_on:
|
|
|
|
- redis
|
|
|
|
redis:
|
2025-01-08 20:57:57 -05:00
|
|
|
image: redis:7-alpine
|
2025-01-08 23:17:13 -05:00
|
|
|
command: redis-server --unixsocket /data/redis.sock --unixsocketperm 777 --save 900 1 --save 300 10 --save 60 10000
|
2025-01-07 00:06:38 -05:00
|
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
2025-01-08 20:57:57 -05:00
|
|
|
- ./.docker/.data/redis:/data
|