Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Ванин Дмитрий Михайлович
ms-rat
Commits
10a052b8
Commit
10a052b8
authored
2 years ago
by
Ванин Дмитрий Михайлович
Browse files
Options
Download
Patches
Plain Diff
Update Readme.md
parent
c586a4f8
master
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Readme.md
+25
-0
Readme.md
with
25 additions
and
0 deletions
+25
-0
Readme.md
+
25
−
0
View file @
10a052b8
...
...
@@ -10,6 +10,31 @@
| DB_HOST | Адрес базы данных |
| DB_PORT | Порт базы данных |
## Пример docker-compose
```
version: '3'
services:
db:
image: mariadb
restart: always
environment:
- MYSQL_ROOT_PASSWORD=P@ssw0rd
- MYSQL_PASSWORD=P@ssw0rd
- MYSQL_DATABASE=rat
- MYSQL_USER=rat
ms-rat:
image: ms-rat
restart: always
ports:
- 8080:8080
environment:
- DB_USER=rat
- DB_PASSWORD=P@ssw0rd
- DB_NAME=rat
- DB_HOST=db
- DB_PORT=3306
```
## Использование
`go mod download && go mod verify`
`go build -o ms-rat`
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets