mirror of
https://github.com/apache/superset.git
synced 2024-09-19 03:59:49 -04:00
1fece0d2fa
* Add licenses * More licenses * Ignore messages.json as they are generated * More licenses * Also typescript * Fix alignment * Add to svg * Many more licenses * more licenses * Better excludes * Add licenses to docs and md files * Pre-finalize licenses * Fix newlines * Finalize all sourde licenses * Fix lint
71 lines
2.0 KiB
YAML
71 lines
2.0 KiB
YAML
#
|
|
# Licensed to the Apache Software Foundation (ASF) under one or more
|
|
# contributor license agreements. See the NOTICE file distributed with
|
|
# this work for additional information regarding copyright ownership.
|
|
# The ASF licenses this file to You under the Apache License, Version 2.0
|
|
# (the "License"); you may not use this file except in compliance with
|
|
# the License. You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
#
|
|
version: '3'
|
|
services:
|
|
redis:
|
|
image: redis:3.2
|
|
restart: unless-stopped
|
|
ports:
|
|
- 6379:6379
|
|
volumes:
|
|
- redis:/data
|
|
|
|
postgres:
|
|
image: postgres:10
|
|
restart: unless-stopped
|
|
environment:
|
|
POSTGRES_DB: superset
|
|
POSTGRES_PASSWORD: superset
|
|
POSTGRES_USER: superset
|
|
ports:
|
|
- 5432:5432
|
|
volumes:
|
|
- postgres:/var/lib/postgresql/data
|
|
|
|
superset:
|
|
build:
|
|
context: ../../
|
|
dockerfile: contrib/docker/Dockerfile
|
|
restart: unless-stopped
|
|
environment:
|
|
POSTGRES_DB: superset
|
|
POSTGRES_USER: superset
|
|
POSTGRES_PASSWORD: superset
|
|
POSTGRES_HOST: postgres
|
|
POSTGRES_PORT: 5432
|
|
REDIS_HOST: redis
|
|
REDIS_PORT: 6379
|
|
# If using production, comment development volume below
|
|
#SUPERSET_ENV: production
|
|
SUPERSET_ENV: development
|
|
ports:
|
|
- 8088:8088
|
|
depends_on:
|
|
- postgres
|
|
- redis
|
|
volumes:
|
|
# this is needed to communicate with the postgres and redis services
|
|
- ./superset_config.py:/home/superset/superset/superset_config.py
|
|
# this is needed for development, remove with SUPERSET_ENV=production
|
|
- ../../superset:/home/superset/superset
|
|
|
|
volumes:
|
|
postgres:
|
|
external: false
|
|
redis:
|
|
external: false
|