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

chore(docker): add docker-compose-local #730

Open
wants to merge 21 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
9d9650d
chore(docker): add docker-compose-local
aderan Jun 5, 2023
4f95654
fix(record): keep record transcodingConfig limit to 1920*1080 (#733)
vince-hz Jul 3, 2023
bf2e3b4
fix(record): update agora record transcodingConfig limitation (#734)
vince-hz Jul 3, 2023
4928867
chore(ci): remove US deployment (#735)
hyrious Jul 3, 2023
43c9478
feat: add region code (#736)
ooeyuna Jul 19, 2023
df16feb
fix(v1): rejoin a deleted room causes incorrect rtc uid (#737)
hyrious Jul 19, 2023
3c12f43
(fix): cancel roomUUID uuid-v4 format limit (#738)
ooeyuna Jul 19, 2023
8d576bf
fix invite code check (#739)
ooeyuna Jul 25, 2023
2b00cd9
refactor(room): set invite code expiration to 100 days (#740)
hyrious Jul 25, 2023
aa307d4
feat: add region configs api (#741)
ooeyuna Jul 28, 2023
644f70d
feat(v2): add user/rebind-phone{/send-message} (#742)
hyrious Aug 3, 2023
8d27bd7
feat(v2): add register/phone{/send-message} (#743)
hyrious Aug 3, 2023
8f6fef7
fix: should use full phone string in database (#746)
hyrious Aug 3, 2023
7a7bb78
chore: deploy sg via ci (for dev) (#747)
flat-bot Aug 3, 2023
76cf885
feat: add email support (#745)
hyrious Aug 3, 2023
e83c1a7
fix: wrong return value of send message (#749)
hyrious Aug 4, 2023
383726b
refactor: change all login errors (#748)
hyrious Aug 4, 2023
ea9e16a
refactor: add {hasPassword: boolean} to login responses (#744)
hyrious Aug 4, 2023
8ede9c4
refactor: update email templates (#750)
hyrious Aug 4, 2023
93abd3f
fix sg deploy (#751)
ooeyuna Aug 4, 2023
801183f
refactor: add more fields to region configs (#752)
hyrious Aug 8, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions docker/docker-compose-local.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
version: '3'
name: flat-server-local
services:
redis:
image: redis
container_name: redis
ports:
- 7528:6379
volumes:
- redis_data:/data
environment:
- REDIS_PASSWORD=flat-server-test

mysql:
image: mysql
container_name: mysql
ports:
- 7519:3306
environment:
- MYSQL_ROOT_PASSWORD=flat-server-test
- MYSQL_DATABASE=flat_server
command:
--default-authentication-plugin=mysql_native_password
volumes:
- mysql_data:/var/lib/mysql

volumes:
redis_data:
mysql_data:
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
"test:sync:orm": "ts-node -r dotenv-flow/config scripts/sync-orm.ts -- --default-node-env=test --dotenv-flow-path=config",
"test:local": "./scripts/prepare-test-env.sh && yarn run test:sync:orm && yarn run test",
"test": "c8 --reporter=html ava",
"docker:local:up": "docker compose -f docker/docker-compose-local.yml up --detach",
"docker:local:down": "docker compose -f docker/docker-compose-local.yml down",
"lint": "lint-staged"
},
"devDependencies": {
Expand Down