Fix syntax error in app.py bootstrap_database function
ci/woodpecker/push/woodpecker Pipeline failed
Details
ci/woodpecker/push/woodpecker Pipeline failed
Details
This commit is contained in:
parent
5f920a7e37
commit
e2916aec56
|
@ -336,4 +336,4 @@ if __name__ == '__main__':
|
||||||
logger.info(f"Starting Ploughshares v{VERSION}")
|
logger.info(f"Starting Ploughshares v{VERSION}")
|
||||||
bootstrap_database()
|
bootstrap_database()
|
||||||
port = int(os.environ.get('FLASK_RUN_PORT', 5001))
|
port = int(os.environ.get('FLASK_RUN_PORT', 5001))
|
||||||
app.run(host='0.0.0.0', port=port)
|
app.run(host='0.0.0.0', port=port)
|
||||||
|
|
|
@ -55,7 +55,6 @@ services:
|
||||||
- ploughshares-internal
|
- ploughshares-internal
|
||||||
volumes:
|
volumes:
|
||||||
- ploughshares_db_data:/var/lib/postgresql/data
|
- ploughshares_db_data:/var/lib/postgresql/data
|
||||||
- ./docker/ploughshares/schema.sql:/docker-entrypoint-initdb.d/schema.sql
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
ploughshares_db_data:
|
ploughshares_db_data:
|
||||||
|
|
Loading…
Reference in New Issue