Sign inSign up

dimtoolsinc/tableau-server

By dimtoolsinc

•Updated almost 8 years ago

Tableau server setup for Docker based on https://github.com/tfoldi/tableau-server-docker

Image
0

637

dimtoolsinc/tableau-server repository overview

⁠Tableau Docker setup

⁠Description

This setup is based on https://github.com/tfoldi/tableau-server-docker⁠ with only difference in using MySQL client inside a container

⁠Dockerfile

FROM centos/systemd
ENV TABLEAU_VERSION="2018.2.3" \
    LANG=en_US.UTF-8
VOLUME /sys/fs/cgroup /run /tmp

COPY config/lscpu /bin

RUN rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm && \
    yum install -y iproute curl sudo vim && \
    adduser tsm && \
    (echo tsm:tsm | chpasswd) && \
    (echo 'tsm ALL=(ALL) NOPASSWD:ALL' > /etc/sudoers.d/tsm) && \
    mkdir -p  /run/systemd/system /opt/tableau/docker_build && \
    yum install -y \
             "https://downloads.tableau.com/esdalt/${TABLEAU_VERSION}/tableau-server-${TABLEAU_VERSION//\./-}.x86_64.rpm" \
             "https://dev.mysql.com/get/Downloads/Connector-ODBC/8.0/mysql-connector-odbc-8.0.12-1.el7.x86_64.rpm"  && \
    rm -rf /var/tmp/yum-* 


COPY config/* /opt/tableau/docker_build/

RUN mkdir -p /etc/systemd/system/ && \
    cp /opt/tableau/docker_build/tableau_server_install.service /etc/systemd/system/ && \
    systemctl enable tableau_server_install 

EXPOSE 80 8850

CMD /sbin/init

You can add PGSQL support by installing PGSQL odbc driver additionally during docker build: "https://downloads.tableau.com/drivers/linux/yum/tableau-driver/tableau-postgresql-odbc-9.5.3-1.x86_64.rpm⁠"

⁠Usage

You can run using docker commands as described in original repository:

docker run -ti --privileged -v /sys/fs/cgroup:/sys/fs/cgroup -v /run -p 80 dimtoolsinc/tableau-server:2018-2-3

or use docker-compose file:

version: '2'
services:
  tableau:
    container_name: tableau
    image: dimtoolsinc/tableau-server:2018-2-3
    volumes:
      - run:/run
      - /sys/fs/cgroup:/sys/fs/cgroup    
    restart: always
    ports:
    - 80:80
    - 8850:8850
    privileged: true
volumes:
  run:

You can change exposed port to any from 80.

⁠Licence

All rights belong to author of original setup, original license: https://github.com/tfoldi/tableau-server-docker/blob/master/LICENSE⁠

BSD 3-Clause License

Copyright (c) 2017, Földi Tamás
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this
  list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice,
  this list of conditions and the following disclaimer in the documentation
  and/or other materials provided with the distribution.

* Neither the name of the copyright holder nor the names of its
  contributors may be used to endorse or promote products derived from
  this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Tag summary

Content type

Image

Digest

Size

2.7 GB

Last updated

almost 8 years ago

docker pull dimtoolsinc/tableau-server:2018-2-3-built