Skip to content

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

ci(compose): :zap: update docker compose deployment examples

Amruth Pillaid113f84c7ed2
diff --git a/.github/workflows/publish-docker-image.yml b/.github/workflows/publish-docker-image.yml
index c97cbbda0..2bb943e4c 100644
--- a/.github/workflows/publish-docker-image.yml
+++ b/.github/workflows/publish-docker-image.yml
@@ -1,10 +1,10 @@
name: Publish Docker Image
on:
+ workflow_dispatch:
push:
branches:
- v4
- workflow_dispatch:
env:
IMAGE: amruthpillai/reactive-resume
@@ -21,7 +21,7 @@ jobs:
matrix:
platform:
- linux/amd64
- - linux/arm64
+ # - linux/arm64 # Skipping linux/arm64 for now as it is extremely slow to build on GitHub Actions
steps:
- name: Checkout Repository
diff --git a/apps/server/src/config/schema.ts b/apps/server/src/config/schema.ts
index 29227bea4..b87ed8090 100644
--- a/apps/server/src/config/schema.ts
+++ b/apps/server/src/config/schema.ts
@@ -40,7 +40,7 @@ export const configSchema = z.object({
REDIS_URL: z.string().url().startsWith("redis://").optional(),
// Sentry
- SENTRY_DSN: z.string().url().optional(),
+ SENTRY_DSN: z.string().url().startsWith("https://").optional(),
// GitHub (OAuth)
GITHUB_CLIENT_ID: z.string().optional(),
diff --git a/tools/compose/simple.yml b/tools/compose/simple.yml
index 5512bac4b..d4c8962fc 100644
--- a/tools/compose/simple.yml
+++ b/tools/compose/simple.yml
@@ -75,7 +75,7 @@ services:
ACCESS_TOKEN_SECRET: access_token_secret
REFRESH_TOKEN_SECRET: refresh_token_secret
# -- Emails --
- SMTP_URL: smtp://user:pass@smtp:587 # Optional
+ # SMTP_URL: smtp://user:pass@smtp:587 # Optional
# -- Storage (Minio) --
STORAGE_ENDPOINT: minio
STORAGE_PORT: 9000
@@ -86,7 +86,7 @@ services:
# -- Cache (Redis) --
REDIS_URL: redis://default:password@redis:6379
# -- Sentry --
- SENTRY_DSN: https://id.sentry.io # Optional
+ # SENTRY_DSN: https://id.sentry.io # Optional
# -- GitHub --
GITHUB_CLIENT_ID: github_client_id
GITHUB_CLIENT_SECRET: github_client_secret
diff --git a/tools/compose/traefik.yml b/tools/compose/traefik.yml
index c0791d7cf..7c58f1c8b 100644
--- a/tools/compose/traefik.yml
+++ b/tools/compose/traefik.yml
@@ -53,9 +53,7 @@ services:
command: redis-server --requirepass password
app:
- build:
- context: ../..
- dockerfile: Dockerfile
+ image: amruthpillai/reactive-resume
restart: unless-stopped
ports:
- 3000:3000
@@ -80,7 +78,7 @@ services:
ACCESS_TOKEN_SECRET: access_token_secret
REFRESH_TOKEN_SECRET: refresh_token_secret
# -- Emails --
- SMTP_URL: smtp://user:pass@smtp:587 # Optional
+ # SMTP_URL: smtp://user:pass@smtp:587 # Optional
# -- Storage (Minio) --
STORAGE_ENDPOINT: minio
STORAGE_PORT: 9000
@@ -91,7 +89,7 @@ services:
# -- Cache (Redis) --
REDIS_URL: redis://default:password@redis:6379
# -- Sentry --
- SENTRY_DSN: https://id.sentry.io # Optional
+ # SENTRY_DSN: https://id.sentry.io # Optional
# -- GitHub --
GITHUB_CLIENT_ID: github_client_id
GITHUB_CLIENT_SECRET: github_client_secret