Skip to content

Commit

Permalink
nice improvements for plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
NurramoX committed Aug 23, 2023
1 parent 8576e8d commit 374b6b7
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 5 deletions.
20 changes: 19 additions & 1 deletion docker-compose-non-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
x-superset-image: &superset-image apache/superset:${TAG:-latest-dev}
x-superset-image: &superset-image superset
x-superset-depends-on: &superset-depends-on
- db
- redis
Expand All @@ -29,6 +29,8 @@ services:
image: redis:latest
container_name: superset_cache
restart: unless-stopped
networks:
- web
volumes:
- redis:/data

Expand All @@ -37,6 +39,8 @@ services:
image: postgres:10
container_name: superset_db
restart: unless-stopped
networks:
- web
volumes:
- db_home:/var/lib/postgresql/data

Expand All @@ -47,6 +51,8 @@ services:
command: ["/app/docker/docker-bootstrap.sh", "app-gunicorn"]
user: "root"
restart: unless-stopped
networks:
- web
ports:
- 8088:8088
depends_on: *superset-depends-on
Expand All @@ -60,6 +66,8 @@ services:
depends_on: *superset-depends-on
user: "root"
volumes: *superset-volumes
networks:
- web

superset-worker:
image: *superset-image
Expand All @@ -70,6 +78,8 @@ services:
depends_on: *superset-depends-on
user: "root"
volumes: *superset-volumes
networks:
- web

superset-worker-beat:
image: *superset-image
Expand All @@ -80,6 +90,8 @@ services:
depends_on: *superset-depends-on
user: "root"
volumes: *superset-volumes
networks:
- web

volumes:
superset_home:
Expand All @@ -88,3 +100,9 @@ volumes:
external: false
redis:
external: false

networks:
web:
external:
true

Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ export class DeckGLContainer extends React.Component {
onViewStateChange={this.onViewStateChange}
>
<Map
//preserveDrawingBuffer
mapStyle={this.props.mapStyle}
mapLib={import('maplibre-gl')}
maplibreLogo
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ class DeckMulti extends React.PureComponent {
};

render() {
const { payload, formData, setControlValue, height, width } = this.props;
const { formData, setControlValue, height, width } = this.props;
const { subSlicesLayers } = this.state;

const layers = Object.values(subSlicesLayers);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -371,9 +371,10 @@ export const maplibreStyle = {
clearable: false,
renderTrigger: true,
choices: [
['http://localhost:8070/styles/zurickman/style.json', 'Light'],
['http://tileserver/styles/light/style.json', 'Light'],
['http://tileserver/styles/dark/style.json', 'Dark'],
],
default: 'http://localhost:8070/styles/zurickman/style.json',
default: 'http://tileserver/styles/light/style.json',
description: t('Base layer map style'),
},
};
Expand Down

0 comments on commit 374b6b7

Please sign in to comment.