Alembic mail 8080 port
It looks like you're trying to run Alembic, a database migration tool, on port 8080.
To run Alembic on port 8080, you'll need to specify the port number when running the Alembic command. Here are a few ways to do this:
Method 1: Using the --port
option
You can use the --port
option followed by the port number you want to use. For example:
alembic -p 8080 history
This will run the Alembic history command on port 8080.
Method 2: Setting the SQLALCHEMY_PORT
environment variable
You can set the SQLALCHEMY_PORT
environment variable to the desired port number before running Alembic. For example:
export SQLALCHEMY_PORT=8080
alembic history
This will set the port number to 8080 for the duration of the Alembic command.
Method 3: Configuring Alembic in your application code
If you're using Alembic as part of your application code, you can configure the port number in your Alembic configuration file (usually alembic.ini
or alembic.py
). For example:
[alembic]
port = 8080
This will set the port number to 8080 for all Alembic commands.
Remember to replace history
with the actual Alembic command you want to run (e.g., upgrade
, downgrade
, revision
, etc.).