Compare commits

...

2 Commits

Author SHA1 Message Date
Xboard
d393f7d455
Update compose.yaml 2025-01-09 01:42:19 +08:00
Xboard
225778cf67
Update compose.yaml 2025-01-09 01:41:53 +08:00

View File

@ -6,6 +6,7 @@ services:
source: ${PWD}/.env source: ${PWD}/.env
target: /www/.env target: /www/.env
- ./.docker/.data/:/www/.docker/.data - ./.docker/.data/:/www/.docker/.data
- ./public/theme/:/www/public/theme/
environment: environment:
- docker=true - docker=true
depends_on: depends_on:
@ -29,7 +30,7 @@ services:
- redis - redis
redis: redis:
image: redis:7-alpine image: redis:7-alpine
command: redis-server --appendonly yes --appendfsync everysec command: redis-server --save 900 1 --save 300 10 --save 60 10000
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- ./.docker/.data/:/www/.docker/.data - ./.docker/.data/:/www/.docker/.data