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!

1646397537

Amruth Pillai7c736857599c
diff --git a/README.md b/README.md
index cb9b84b74..0515e351b 100644
--- a/README.md
+++ b/README.md
@@ -28,6 +28,12 @@ You have complete control over what goes into your resume, how it looks, what co
- Tailor-made Backend and Database, isolated from Google, Amazon etc.
- **Oh, and did I mention that it's free?**
+## Docker
+
+```
+docker run -d -p 3000:3000 -p 3100:3100 --env-file .env amruthpillai/reactive-resume:v3
+```
+
## Build from Source
1. Clone the repository locally, or use GitHub Codespaces or CodeSandbox
diff --git a/apps/server/.env b/apps/server/.env
index f4f6f0a48..0acda1340 100644
--- a/apps/server/.env
+++ b/apps/server/.env
@@ -1 +1 @@
-PORT=3100
+SERVER_PORT=3100
diff --git a/apps/server/src/config/app.config.ts b/apps/server/src/config/app.config.ts
index 643fbd0b9..100d4028e 100644
--- a/apps/server/src/config/app.config.ts
+++ b/apps/server/src/config/app.config.ts
@@ -4,7 +4,7 @@ export default registerAs('app', () => ({
timezone: process.env.TZ,
environment: process.env.NODE_ENV,
secretKey: process.env.SECRET_KEY,
- port: parseInt(process.env.PORT, 10) || 3100,
+ port: parseInt(process.env.SERVER_PORT, 10) || 3100,
url: process.env.APP_URL || 'http://localhost:3000',
serverUrl: process.env.SERVER_URL || 'http://localhost:3100',
}));
diff --git a/docker-compose.yml b/docker-compose.yml
index 5c18a51fd..8cdab4958 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -11,8 +11,23 @@ services:
- ./scripts/database/initialize.sql:/docker-entrypoint-initdb.d/initialize.sql
- pgdata:/var/lib/postgresql/data
+ # Development
+ # app:
+ # build: .
+ # container_name: app
+ # depends_on:
+ # - postgres
+ # ports:
+ # - '3000:3000'
+ # - '3100:3100'
+ # env_file: .env
+ # environment:
+ # NODE_ENV: development
+ # POSTGRES_HOST: postgres
+
+ # Production
app:
- build: .
+ image: amruthpillai/reactive-resume
container_name: app
depends_on:
- postgres