Skip to content

Commit

Permalink
fix: nginx, dockercompose
Browse files Browse the repository at this point in the history
  • Loading branch information
jimin9038 committed May 23, 2024
1 parent b570282 commit b7b6314
Show file tree
Hide file tree
Showing 5 changed files with 6,840 additions and 5,369 deletions.
4 changes: 2 additions & 2 deletions backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
"@nestjs/swagger": "^7.3.0",
"@prisma/client": "5.10.1",
"argon2": "^0.31.2",
"cache-manager": "^5.4.0",
"cache-manager-redis-yet": "^4.1.2",
"cache-manager": "^5.5.2",
"cache-manager-redis-yet": "^5.0.0",
"chai": "^5.1.0",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.1",
Expand Down
16 changes: 0 additions & 16 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,21 +44,5 @@ services:
- .env
network_mode: host

database:
container_name: ceotime-database
image: postgres:16-alpine
ports:
- 5433:5432
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: 1234
POSTGRES_DB: ceotime
volumes:
- ceotime-database:/var/lib/postgresql/data
cache:
container_name: ceotime-cache
image: redis:7-alpine
ports:
- 6380:6379
volumes:
ceotime-database:
2 changes: 1 addition & 1 deletion nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ http {
proxy_pass http://127.0.0.1:4001/api;
proxy_redirect default;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;x
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $server_name;
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
"prettier-plugin-tailwindcss": "^0.5.11",
"typescript": "^5.3.3"
},
"packageManager": "pnpm@8.15.6"
"packageManager": "pnpm@9.1.1"
}
Loading

0 comments on commit b7b6314

Please sign in to comment.