Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/1 redis sortset queue #2

Merged
merged 12 commits into from
Oct 24, 2023
6 changes: 6 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"tabWidth": 2,
"semi": false,
"singleQuote": true,
"trailingComma": "all"
}
5 changes: 1 addition & 4 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
{
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"prettier.singleQuote": true,
"prettier.tabWidth": 2,
"prettier.semi": false,
"prettier.trailingComma": "all"
"prettier.configPath": "./.prettierrc.json"
}
27 changes: 27 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,40 @@
version: '3'
services:
redis_server:
image: redis:latest
container_name: redis_server
ports:
- 6379:6379

labels:
- 'name=redis'
- 'mode=standalone'

restart: 'no'
command: redis-server

networks:
- node-network

api:
depends_on:
- redis_server

build:
context: .
dockerfile: Dockerfile-local

environment:
NODE_ENV: development
PORT: 8080
REDIS_HOST: redis_server
REDIS_PORT: 6379

ports:
- 8080:8080

networks:
- node-network

networks:
node-network:
Loading
Loading