From bb3474f4fa5fef1550fd1cc02c6a97e57866b19a Mon Sep 17 00:00:00 2001 From: Xboard <147830212+cedar2025@users.noreply.github.com> Date: Tue, 7 Jan 2025 13:14:16 +0800 Subject: [PATCH] update compose.yaml --- compose.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/compose.yaml b/compose.yaml index 41c5d86..ee8552c 100644 --- a/compose.yaml +++ b/compose.yaml @@ -2,7 +2,9 @@ services: web: image: ghcr.io/cedar2025/xboard:new volumes: - - ./.env:/www/ + - type: bind + source: ${PWD}/.env + target: /www/.env - redis-socket:/run/redis-socket environment: - docker=true @@ -16,7 +18,9 @@ services: horizon: image: ghcr.io/cedar2025/xboard:new volumes: - - ./.env:/www/ + - type: bind + source: ${PWD}/.env + target: /www/.env - redis-socket:/run/redis-socket restart: on-failure # network_mode: host