mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-13 00:03:27 +10:00
1646397537
This commit is contained in:
@ -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.
|
- Tailor-made Backend and Database, isolated from Google, Amazon etc.
|
||||||
- **Oh, and did I mention that it's free?**
|
- **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
|
## Build from Source
|
||||||
|
|
||||||
1. Clone the repository locally, or use GitHub Codespaces or CodeSandbox
|
1. Clone the repository locally, or use GitHub Codespaces or CodeSandbox
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
PORT=3100
|
SERVER_PORT=3100
|
||||||
|
|||||||
@ -4,7 +4,7 @@ export default registerAs('app', () => ({
|
|||||||
timezone: process.env.TZ,
|
timezone: process.env.TZ,
|
||||||
environment: process.env.NODE_ENV,
|
environment: process.env.NODE_ENV,
|
||||||
secretKey: process.env.SECRET_KEY,
|
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',
|
url: process.env.APP_URL || 'http://localhost:3000',
|
||||||
serverUrl: process.env.SERVER_URL || 'http://localhost:3100',
|
serverUrl: process.env.SERVER_URL || 'http://localhost:3100',
|
||||||
}));
|
}));
|
||||||
|
|||||||
@ -11,8 +11,23 @@ services:
|
|||||||
- ./scripts/database/initialize.sql:/docker-entrypoint-initdb.d/initialize.sql
|
- ./scripts/database/initialize.sql:/docker-entrypoint-initdb.d/initialize.sql
|
||||||
- pgdata:/var/lib/postgresql/data
|
- 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:
|
app:
|
||||||
build: .
|
image: amruthpillai/reactive-resume
|
||||||
container_name: app
|
container_name: app
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgres
|
- postgres
|
||||||
|
|||||||
Reference in New Issue
Block a user