Xboard/compose.yaml

37 lines
1.0 KiB
YAML
Raw Normal View History

2025-01-07 00:06:38 -05:00
services:
web:
2025-01-21 09:11:43 -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-10 08:59:09 -05:00
- ./storage/theme:/www/storage/theme
2025-01-07 00:06:38 -05:00
environment:
- docker=true
depends_on:
- redis
# network_mode: host
2025-01-10 09:37:37 -05:00
command: php artisan octane:start --host=0.0.0.0 --port=7001
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-24 11:00:18 -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