Implement job queue for asynchronous NLP #6
@@ -23,6 +23,7 @@ services:
|
|||||||
container_name: crosspost_flask
|
container_name: crosspost_flask
|
||||||
volumes:
|
volumes:
|
||||||
- .:/app
|
- .:/app
|
||||||
|
- model_cache:/models
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
ports:
|
ports:
|
||||||
@@ -36,6 +37,7 @@ services:
|
|||||||
build: .
|
build: .
|
||||||
volumes:
|
volumes:
|
||||||
- .:/app
|
- .:/app
|
||||||
|
- model_cache:/models
|
||||||
container_name: crosspost_worker
|
container_name: crosspost_worker
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
@@ -45,4 +47,7 @@ services:
|
|||||||
--pool=solo
|
--pool=solo
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgres
|
- postgres
|
||||||
- redis
|
- redis
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
model_cache:
|
||||||
Reference in New Issue
Block a user