Create one-touch deploy with docker

This commit is contained in:
conradsp
2019-06-29 15:38:33 +02:00
committed by Michael Vorburger ⛑️
parent 900cdcbf4c
commit 357820a7a7
6 changed files with 827 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
version: '3.7'
services:
fineractmysql:
image: mysql:5.7
volumes:
- dbdata:/var/lib/mysql
- ./initdb:/docker-entrypoint-initdb.d
restart: always
environment:
MYSQL_ROOT_PASSWORD: mysql
MYSQL_USER: root
MYSQL_PASSWORD: mysql
ports:
- "3306:3306"
fineract-server:
build:
context: .
target: fineract
ports:
- 443:443
depends_on:
- fineractmysql
volumes:
dbdata: