mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-07-24 17:03:55 +10:00
Merge branch 'main' into main
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
version: "3.8"
|
||||
|
||||
# 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.
|
||||
# If you're looking for a production-ready Docker Compose file, check out the `traefik.yml` file.
|
||||
@@ -23,9 +21,22 @@ services:
|
||||
timeout: 5s
|
||||
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)
|
||||
minio:
|
||||
image: minio/minio
|
||||
image: minio/minio:latest
|
||||
restart: unless-stopped
|
||||
command: server /data
|
||||
ports:
|
||||
@@ -41,7 +52,7 @@ services:
|
||||
|
||||
# Chrome Browser (for printing and previews)
|
||||
chrome:
|
||||
image: ghcr.io/browserless/chromium:latest
|
||||
image: ghcr.io/browserless/chromium:v2.18.0 # Upgrading to newer versions causes issues
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- ${CHROME_PORT:-8080}:3000
|
||||
|
||||
@@ -22,7 +22,7 @@ services:
|
||||
|
||||
# Storage (for image uploads)
|
||||
minio:
|
||||
image: minio/minio
|
||||
image: minio/minio:latest
|
||||
restart: unless-stopped
|
||||
command: server /data
|
||||
volumes:
|
||||
@@ -39,7 +39,7 @@ services:
|
||||
|
||||
# Chrome Browser (for printing and previews)
|
||||
chrome:
|
||||
image: ghcr.io/browserless/chromium:latest
|
||||
image: ghcr.io/browserless/chromium:v2.18.0 # Upgrading to newer versions causes issues
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
TIMEOUT: 10000
|
||||
|
||||
@@ -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).
|
||||
# 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.
|
||||
@@ -23,7 +21,7 @@ services:
|
||||
|
||||
# Storage (for image uploads)
|
||||
minio:
|
||||
image: minio/minio
|
||||
image: minio/minio:latest
|
||||
restart: unless-stopped
|
||||
command: server /data
|
||||
ports:
|
||||
@@ -36,10 +34,10 @@ services:
|
||||
|
||||
# Chrome Browser (for printing and previews)
|
||||
chrome:
|
||||
image: ghcr.io/browserless/chromium:latest
|
||||
image: ghcr.io/browserless/chromium:v2.18.0 # Upgrading to newer versions causes issues
|
||||
restart: unless-stopped
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
TIMEOUT: 10000
|
||||
CONCURRENT: 10
|
||||
|
||||
@@ -28,7 +28,7 @@ services:
|
||||
|
||||
# Storage (for image uploads)
|
||||
minio:
|
||||
image: minio/minio
|
||||
image: minio/minio:latest
|
||||
command: server /data
|
||||
networks:
|
||||
- reactive_resume_network
|
||||
@@ -50,7 +50,7 @@ services:
|
||||
|
||||
# Chrome Browser (for printing and previews)
|
||||
chrome:
|
||||
image: ghcr.io/browserless/chromium:latest
|
||||
image: ghcr.io/browserless/chromium:v2.18.0 # Upgrading to newer versions causes issues
|
||||
networks:
|
||||
- reactive_resume_network
|
||||
environment:
|
||||
|
||||
@@ -24,7 +24,7 @@ services:
|
||||
|
||||
# Storage (for image uploads)
|
||||
minio:
|
||||
image: minio/minio
|
||||
image: minio/minio:latest
|
||||
restart: unless-stopped
|
||||
command: server /data
|
||||
volumes:
|
||||
@@ -41,7 +41,7 @@ services:
|
||||
|
||||
# Chrome Browser (for printing and previews)
|
||||
chrome:
|
||||
image: ghcr.io/browserless/chromium:latest
|
||||
image: ghcr.io/browserless/chromium:v2.18.0 # Upgrading to newer versions causes issues
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
TIMEOUT: 10000
|
||||
|
||||
@@ -24,7 +24,7 @@ services:
|
||||
|
||||
# Storage (for image uploads)
|
||||
minio:
|
||||
image: minio/minio
|
||||
image: minio/minio:latest
|
||||
restart: unless-stopped
|
||||
command: server /data
|
||||
volumes:
|
||||
@@ -39,7 +39,7 @@ services:
|
||||
|
||||
# Chrome Browser (for printing and previews)
|
||||
chrome:
|
||||
image: ghcr.io/browserless/chromium:latest
|
||||
image: ghcr.io/browserless/chromium:v2.18.0 # Upgrading to newer versions causes issues
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
TIMEOUT: 10000
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
-- This migration normalizes the username and email fields for all users,
|
||||
-- ensuring that they are stored in lowercase.
|
||||
UPDATE "User"
|
||||
SET username = LOWER(username),
|
||||
email = LOWER(email);
|
||||
|
||||
Reference in New Issue
Block a user