fix osmtile db path and typo in flask manage

This commit is contained in:
Daniel afx 2022-02-04 14:40:45 +00:00
parent a05b6c1e8c
commit df45adcf4c
2 changed files with 2 additions and 2 deletions

View file

@ -59,7 +59,7 @@ services:
- "DOWNLOAD_PBF=https://download.geofabrik.de/europe/bulgaria-latest.osm.pbf" - "DOWNLOAD_PBF=https://download.geofabrik.de/europe/bulgaria-latest.osm.pbf"
- "DOWNLOAD_POLY=https://download.geofabrik.de/europe/bulgaria.poly" - "DOWNLOAD_POLY=https://download.geofabrik.de/europe/bulgaria.poly"
volumes: volumes:
- "./data/osmtile/pgdata:/var/lib/postgresql/12/main" - "./data/osmtile/pgdata:/var/lib/postgresql/data/"
networks: networks:
- internal - internal
#entrypoint: "/run.sh import" #entrypoint: "/run.sh import"

View file

@ -6,7 +6,7 @@ from forest import app, db, User
from flask.cli import FlaskGroup from flask.cli import FlaskGroup
from flask_migrate import Migrate from flask_migrate import Migrate
from flask_migrate import :wMigrateCommand from flask_migrate import MigrateCommand
cli = FlaskGroup(app) cli = FlaskGroup(app)
migrate = Migrate(app, db) migrate = Migrate(app, db)