Printing working now. The env file for the worker needs to know the printer name.
Then, the address can be used to print the data.
This commit is contained in:
16
.env
16
.env
@ -1,18 +1,18 @@
|
||||
HOST=0.0.0.0
|
||||
PORT=6543
|
||||
LOG_LEVEL=WARN
|
||||
PORT=9995
|
||||
LOG_LEVEL=INFO
|
||||
DEBUG=true
|
||||
SQLALCHEMY_DATABASE_URI=
|
||||
SQLALCHEMY_DATABASE_URI=postgresql://postgres:123456@localhost:5432/petty
|
||||
MODULE_NAME=barker.main
|
||||
PROJECT_NAME=barker
|
||||
|
||||
REDIS_HOST=
|
||||
REDIS_HOST=localhost
|
||||
REDIS_PORT=6379
|
||||
|
||||
# openssl rand -hex 32
|
||||
SECRET_KEY=
|
||||
SECRET_KEY=611f9393e58f85521d16d9497bfd847ced70f2b99e12a9c6af40b7bd05cc7b1d
|
||||
# openssl rand -hex 5
|
||||
MIDDLEWARE_SECRET_KEY=
|
||||
MIDDLEWARE_SECRET_KEY=c4afceca1a
|
||||
ALGORITHM=HS256
|
||||
JWT_TOKEN_EXPIRE_MINUTES=30
|
||||
|
||||
@ -21,3 +21,7 @@ TIMEZONE_OFFSET_MINUTES=330
|
||||
|
||||
ALEMBIC_LOG_LEVEL=INFO
|
||||
ALEMBIC_SQLALCHEMY_LOG_LEVEL=WARN
|
||||
|
||||
WORKER_REDIS_HOST=
|
||||
WORKER_REDIS_PORT=6379
|
||||
WORKER_QUEUE_NAME=""
|
||||
|
||||
Reference in New Issue
Block a user