poprawki
This commit is contained in:
@@ -1,5 +1,38 @@
|
|||||||
|
name: reddit-like-app
|
||||||
services:
|
services:
|
||||||
app:
|
frontend:
|
||||||
build: .
|
container_name: frontend
|
||||||
|
image: . # garandplg/garandswg:reddit-like-app
|
||||||
ports:
|
ports:
|
||||||
- "3333:80"
|
- "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
|
||||||
@@ -31,7 +31,7 @@ const ForgotPassword: React.FC = () => {
|
|||||||
className="w-full px-3 py-2 border rounded"
|
className="w-full px-3 py-2 border rounded"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<button type="submit" className="w-full bg-blue-500 text-white py-2 rounded">Rezetuj hasło</button>
|
<button type="submit" className="w-full bg-blue-500 text-white py-2 rounded">Resetuj hasło</button>
|
||||||
</form>
|
</form>
|
||||||
{message && <p className="mt-4 text-center">{message}</p>}
|
{message && <p className="mt-4 text-center">{message}</p>}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user