fix: change port

This commit is contained in:
Amadeus Mader 2026-03-01 23:02:35 +01:00
parent 2c98da58b3
commit 0132772387
3 changed files with 23 additions and 1 deletions

View file

@ -6,7 +6,10 @@ services:
volumes:
- '.:/app'
ports:
- '4008:4008'
- '4000:4008'
command: bash -c "chmod +x docker/docker-run.dev.sh && docker/docker-run.dev.sh"
stdin_open: true
tty: true
environment:
PAGINATION_HISTORY_LIMIT: 10
PAGINATION_LIMIT: 20

View file

@ -36,6 +36,7 @@
beam28Packages.elixir
beam28Packages.hex
beam28Packages.expert
prettier
];
shellHook = ''
lefthook install

18
lefthook.yml Normal file
View file

@ -0,0 +1,18 @@
pre-commit:
parallel: true
jobs:
- name: prettier
glob: '*.{css,html,js,json,md,mjs,ts,yaml,yml}'
run: prettier --check --config=.prettierrc.js --ignore-path=.prettierignore --ignore-path=.gitignore {staged_files}
- name: mix format
glob: '*.{ex,exs}'
run: mix format --check-formatted
- name: typos
run: typos {staged_files}
pre-push:
jobs:
- name: mix check
run: mix check