Merged in feature/docker-docs (pull request #7)

Add docker instructions and minor docs additions

* Add docker folder with docs and docker-compose
Add troubleshooting and docker sections to main README

Approved-by: Paulo Veiga
This commit is contained in:
Matias Arriola
2021-06-10 00:13:26 +00:00
committed by Paulo Veiga
parent 39ff095df7
commit 76ff1cc83d
6 changed files with 288 additions and 0 deletions

24
docker/docker-compose.yml Normal file
View File

@@ -0,0 +1,24 @@
version: "3.3"
services:
db:
image: mysql:5.5
volumes:
- /opt/wisemapping-db:/var/lib/mysql
- ./mysql-init/:/docker-entrypoint-initdb.d
environment:
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: wisemapping
MYSQL_USER: wisemapping
MYSQL_PASSWORD: password
ports:
- 3306:3306
restart: unless-stopped
web:
depends_on:
- db
image: tomcat:9
volumes:
- ../wise-webapp/target/wisemapping.war:/usr/local/tomcat/webapps/ROOT.war
ports:
- "8082:8080"
restart: unless-stopped