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:
commit
3c561a7c2d
3 changed files with 29 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,3 +1,4 @@
|
|||
/target
|
||||
.idea
|
||||
*.iml
|
||||
Cargo.lock
|
||||
|
|
12
rustfmt.toml
Normal file
12
rustfmt.toml
Normal 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
|
16
testenv/docker-compose.yml
Normal file
16
testenv/docker-compose.yml
Normal 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
|
Loading…
Reference in a new issue