add docker-compose config to start mysql and pgsql local databases

This commit is contained in:
Athou
2022-03-22 15:41:27 +01:00
parent ec50530284
commit b0aef46c99
2 changed files with 23 additions and 1 deletions

5
.gitignore vendored
View File

@@ -1,10 +1,13 @@
# config gile
# config file
config.yml
# build directory
target
target-ide
# database files
database
# log files
log

19
docker-compose.dev.yml Normal file
View File

@@ -0,0 +1,19 @@
version: "3.1"
services:
mysql:
image: mariadb
environment:
- MYSQL_ROOT_PASSWORD=root
- MYSQL_DATABASE=commafeed
ports:
- 3306:3306
postgresql:
image: postgres
environment:
POSTGRES_USER: root
POSTGRES_PASSWORD: root
POSTGRES_DB: commafeed
ports:
- 5432:5432