version: "3.5" services: postgres: image: postgres:10 volumes: - "./db_data:/var/lib/postgresql/data" restart: always environment: POSTGRES_DB: metabase POSTGRES_USER: metabase_usr POSTGRES_PASSWORD: ${POSTGRES_PASSWORD} metabase: depends_on: - postgres image: metabase/metabase ports: - "3000:3000" restart: always environment: JAVA_TIMEZONE: Europe/Istanbul MB_ENCRYPTION_SECRET_KEY: ${MB} MB_DB_TYPE: postgres MB_DB_DBNAME: metabase MB_DB_PORT: 5432 MB_DB_USER: metabase_usr MB_DB_PASS: ${POSTGRES_PASSWORD} MB_DB_HOST: postgres mongo: image: mongo restart: always environment: MONGO_INITDB_DATABASE: example MONGO_INITDB_ROOT_USERNAME: root MONGO_INITDB_ROOT_PASSWORD: example volumes: - /home/angelo/mongodata:/data/db