1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Apache Supersetをdocker-composeを使って立ててみる。

Posted at

Apache Supersetをdocker-composeを使って立ててみる。

初めに

  • Apache SupersetはRedashなどと同じBIツールの一つ。
  • オープンソースなので無料で利用できる。

docker-compose

version: '3.7'
services:
  superset:
    image: apache/superset:2.0.0
    container_name: superset
    ports:
      - "8088:8088"

初期化Script

  • docker-composeでsupersetを起動させた後、行う初期化。
#!/bin/bash
CONTAINER_NAME='superset'

docker exec -it ${CONTAINER_NAME} superset db upgrade

docker exec -it ${CONTAINER_NAME} superset fab create-admin \
    --username admin \
    --firstname admin \
    --lastname user \
    --email admin@fab.org \
    --password admin

docker exec -it ${CONTAINER_NAME} superset load-examples

docker exec -it ${CONTAINER_NAME} superset init

動作確認

1
1
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?