version: '2'
services:
app:
image: openweb/wio-dashboard:latest
ports:
- "7878:8080"
volumes:
- jhipster_tmp:/tmp
environment:
spring.data.elasticsearch.cluster-name: "elasticsearch"
spring.data.elasticsearch.cluster-nodes: "elasticsearch:9300"
wio.username: "username"
wio.password: "password"
spring.profiles.active: "prod,swagger"
spring.datasource.url: "jdbc:mysql://mysql:3306/dashboard?useUnicode=true&characterEncoding=utf8&useSSL=false"
spring.datasource.username: "jhipster"
spring.datasource.password: "3uUcZsaTpe(pz"
JHIPSTER_SLEEP: "30" # gives time for the database to boot before the application
restart: always
mysql:
image: mysql:5.7
volumes:
- mysql_data:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: "]W:]W7yT2aPq7!G4"
MYSQL_DATABASE: "dashboard"
MYSQL_USER: "jhipster"
MYSQL_PASSWORD: "3uUcZsaTpe(pz"
networks:
default:
aliases:
- database
command: ["--max_allowed_packet=512M", "--innodb_log_file_size=400M"]
restart: always
elasticsearch:
image: elasticsearch:2.4.4
volumes:
- elasticsearch_data:/usr/share/elasticsearch/data
environment:
ES_JAVA_OPTS: "-Xms512m -Xmx1g"
# ports:
# - "9200:9200"
# - "9300:9300"
restart: always
kibana:
image: kibana:4.6.4
ports:
- "5601:5601"
environment:
ELASTICSEARCH_URL: "http://elasticsearch:9200"
restart: always
volumes:
elasticsearch_data:
driver: local
mysql_data:
driver: local
jhipster_tmp:
driver: local
Content type
Image
Digest
Size
130.2 MB
Last updated
over 9 years ago
docker pull openweb/wio-dashboard