mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-22 06:07:57 +01:00
25 lines
570 B
YAML
25 lines
570 B
YAML
|
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
|