fix osmtile db path and typo in flask manage
This commit is contained in:
parent
a05b6c1e8c
commit
df45adcf4c
2 changed files with 2 additions and 2 deletions
|
@ -59,7 +59,7 @@ services:
|
|||
- "DOWNLOAD_PBF=https://download.geofabrik.de/europe/bulgaria-latest.osm.pbf"
|
||||
- "DOWNLOAD_POLY=https://download.geofabrik.de/europe/bulgaria.poly"
|
||||
volumes:
|
||||
- "./data/osmtile/pgdata:/var/lib/postgresql/12/main"
|
||||
- "./data/osmtile/pgdata:/var/lib/postgresql/data/"
|
||||
networks:
|
||||
- internal
|
||||
#entrypoint: "/run.sh import"
|
||||
|
|
|
@ -6,7 +6,7 @@ from forest import app, db, User
|
|||
|
||||
from flask.cli import FlaskGroup
|
||||
from flask_migrate import Migrate
|
||||
from flask_migrate import :wMigrateCommand
|
||||
from flask_migrate import MigrateCommand
|
||||
|
||||
cli = FlaskGroup(app)
|
||||
migrate = Migrate(app, db)
|
||||
|
|
Loading…
Reference in a new issue