Merge pull request 'small fixes and testenv' (#10) from LordMZTE/jmserver:master into master

Reviewed-on: https://tilera.xyz/git/JensMemes/jmserver/pulls/10
This commit is contained in:
Timo Ley 2021-07-22 14:15:40 +00:00
commit 3c561a7c2d
3 changed files with 29 additions and 0 deletions

1
.gitignore vendored
View file

@ -1,3 +1,4 @@
/target /target
.idea .idea
*.iml *.iml
Cargo.lock

12
rustfmt.toml Normal file
View file

@ -0,0 +1,12 @@
unstable_features = true
binop_separator = "Back"
format_code_in_doc_comments = true
format_macro_matchers = true
format_strings = true
imports_layout = "HorizontalVertical"
match_block_trailing_comma = true
merge_imports = true
normalize_comments = true
use_field_init_shorthand = true
use_try_shorthand = true
wrap_comments = true

View file

@ -0,0 +1,16 @@
version: "3.1"
services:
db:
image: mariadb:10.6.2
ports:
- 3306:3306
environment:
MARIADB_ROOT_PASSWORD: root
MARIADB_USER: jensmemes
MARIADB_PASSWORD: snens
MARIADB_DATABASE: jensmemes
adminer:
image: adminer
ports:
- 8080:8080