From bb07fbb81a60ffc7760b7e3b2bdb8d8f075fd2b4 Mon Sep 17 00:00:00 2001 From: GarandPLG Date: Thu, 12 Sep 2024 17:01:19 +0200 Subject: [PATCH] poprawki --- docker-compose.yaml | 39 +++++++++++++++++++++++++++++++++--- src/pages/ForgotPassword.tsx | 2 +- 2 files changed, 37 insertions(+), 4 deletions(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index f628212..7380903 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -1,5 +1,38 @@ +name: reddit-like-app services: - app: - build: . + frontend: + container_name: frontend + image: . # garandplg/garandswg:reddit-like-app ports: - - "3333:80" \ No newline at end of file + - "3333:80" + restart: unless-stopped + network_mode: bridge + labels: + icon: https://filecloud.garandplg.com/core/getfsslideimage?checkonly=0&name=%2FSHARED%2F%212cRgJptcDNm5uDIcDoJuRDcXEFpdU%2FaqfYbq6GhALh5Gn7&time=1721927167254 + depends_on: + - backend + backend: + container_name: backend + image: ghcr.io/muchobien/pocketbase:latest + ports: + - "8090:8090" + restart: unless-stopped + network_mode: bridge + healthcheck: + test: + - CMD-SHELL + - wget --no-verbose --tries=1 --spider http://localhost:8090/api/health + || exit 1 + timeout: 5s + interval: 5s + retries: 5 + volumes: + - type: bind + source: /DATA/AppData/PocketBase/reddit-like-app/pb_data + target: /pb_data + - type: bind + source: /DATA/AppData/PocketBase/reddit-like-app/pb_public + target: /pb_public + - type: bind + source: /DATA/AppData/PocketBase/reddit-like-app/pb_hooks + target: /pb_hooks \ No newline at end of file diff --git a/src/pages/ForgotPassword.tsx b/src/pages/ForgotPassword.tsx index dd5b767..0d60dee 100644 --- a/src/pages/ForgotPassword.tsx +++ b/src/pages/ForgotPassword.tsx @@ -31,7 +31,7 @@ const ForgotPassword: React.FC = () => { className="w-full px-3 py-2 border rounded" /> - + {message &&

{message}

}