update compose.yaml

This commit is contained in:
Xboard 2025-01-07 13:14:16 +08:00 committed by GitHub
parent 8dc95f6b7a
commit bb3474f4fa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,7 +2,9 @@ services:
web: web:
image: ghcr.io/cedar2025/xboard:new image: ghcr.io/cedar2025/xboard:new
volumes: volumes:
- ./.env:/www/ - type: bind
source: ${PWD}/.env
target: /www/.env
- redis-socket:/run/redis-socket - redis-socket:/run/redis-socket
environment: environment:
- docker=true - docker=true
@ -16,7 +18,9 @@ services:
horizon: horizon:
image: ghcr.io/cedar2025/xboard:new image: ghcr.io/cedar2025/xboard:new
volumes: volumes:
- ./.env:/www/ - type: bind
source: ${PWD}/.env
target: /www/.env
- redis-socket:/run/redis-socket - redis-socket:/run/redis-socket
restart: on-failure restart: on-failure
# network_mode: host # network_mode: host