mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-13 08:13:49 +10:00
fix account deletion
This commit is contained in:
@ -45,7 +45,7 @@ export const DangerZoneSettings = () => {
|
|||||||
|
|
||||||
// On the second click, delete the account
|
// On the second click, delete the account
|
||||||
if (count === 1) {
|
if (count === 1) {
|
||||||
await Promise.all([deleteUser, logout]);
|
await Promise.all([deleteUser(), logout()]);
|
||||||
|
|
||||||
toast({
|
toast({
|
||||||
variant: "success",
|
variant: "success",
|
||||||
|
|||||||
@ -1,5 +1,3 @@
|
|||||||
version: "3.8"
|
|
||||||
|
|
||||||
# In this Docker Compose example, we only fire up the services required for local development.
|
# In this Docker Compose example, we only fire up the services required for local development.
|
||||||
# This is not advised for production use as it exposes ports to the database insecurely.
|
# This is not advised for production use as it exposes ports to the database insecurely.
|
||||||
# If you're looking for a production-ready Docker Compose file, check out the `traefik.yml` file.
|
# If you're looking for a production-ready Docker Compose file, check out the `traefik.yml` file.
|
||||||
@ -7,7 +5,7 @@ version: "3.8"
|
|||||||
services:
|
services:
|
||||||
# Database (Postgres)
|
# Database (Postgres)
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:16-alpine
|
image: postgres:latest
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- ${POSTGRES_PORT:-5432}:5432
|
- ${POSTGRES_PORT:-5432}:5432
|
||||||
@ -23,9 +21,22 @@ services:
|
|||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 5
|
retries: 5
|
||||||
|
|
||||||
|
# Adminer (for database management)
|
||||||
|
adminer:
|
||||||
|
image: shyim/adminerevo:latest
|
||||||
|
restart: unless-stopped
|
||||||
|
ports:
|
||||||
|
- 5555:8080
|
||||||
|
environment:
|
||||||
|
ADMINER_DEFAULT_DRIVER: pgsql
|
||||||
|
ADMINER_DEFAULT_SERVER: postgres
|
||||||
|
ADMINER_DEFAULT_USER: ${POSTGRES_USER:-postgres}
|
||||||
|
ADMINER_DEFAULT_PASSWORD: ${POSTGRES_PASSWORD:-postgres}
|
||||||
|
ADMINER_DEFAULT_DB: ${POSTGRES_DB:-postgres}
|
||||||
|
|
||||||
# Storage (for image uploads)
|
# Storage (for image uploads)
|
||||||
minio:
|
minio:
|
||||||
image: minio/minio
|
image: minio/minio:latest
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
command: server /data
|
command: server /data
|
||||||
ports:
|
ports:
|
||||||
|
|||||||
@ -1,5 +1,3 @@
|
|||||||
version: "3.8"
|
|
||||||
|
|
||||||
# In this Docker Compose example, it assumes that you maintain a reverse proxy externally (or chose not to).
|
# In this Docker Compose example, it assumes that you maintain a reverse proxy externally (or chose not to).
|
||||||
# The only two exposed ports here are from minio (:9000) and the app itself (:3000).
|
# The only two exposed ports here are from minio (:9000) and the app itself (:3000).
|
||||||
# If these ports are changed, ensure that the env vars passed to the app are also changed accordingly.
|
# If these ports are changed, ensure that the env vars passed to the app are also changed accordingly.
|
||||||
|
|||||||
Reference in New Issue
Block a user