1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/metabase/docker-compose.yml

37 lines
993 B
YAML
Raw Normal View History

2019-01-22 11:47:49 +02:00
version: '2'
services:
metabase:
image: metabase/metabase
ports:
- "3000:3000"
2019-02-15 09:37:36 +02:00
# "1099:1099"
2019-01-22 11:47:49 +02:00
environment:
- MB_DB_TYPE=postgres
- MB_DB_DBNAME=metabase
- MB_DB_HOST=postgres
- MB_DB_PORT=5432
- MB_DB_USER=root
- MB_DB_PASS=root
2019-06-12 02:26:31 +02:00
- JAVA_TOOL_OPTIONS=-Xmx6g
# JAVA_OPTS=-Dcom.sun.management.jmxremote.port=1099
2019-02-15 09:37:36 +02:00
# -Dcom.sun.management.jmxremote.rmi.port=1099
# -Dcom.sun.management.jmxremote.authenticate=false
# -Dcom.sun.management.jmxremote.ssl=false
# -Dcom.sun.management.jmxremote.local.only=false
# -Djava.rmi.server.hostname=metabase.easypi.pro
2019-01-22 11:47:49 +02:00
depends_on:
- postgres
restart: unless-stopped
postgres:
image: postgres:alpine
volumes:
- ./data:/var/lib/postgresql/data
environment:
- POSTGRES_USER=root
- POSTGRES_PASSWORD=root
- POSTGRES_DB=metabase
restart: unless-stopped