mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-26 11:31:08 +00:00
Merge pull request #309 from jimfingal/jim/flower
Run docker-compose flower in main container
This commit is contained in:
commit
6b939be394
2 changed files with 9 additions and 3 deletions
|
@ -1,10 +1,15 @@
|
|||
FROM python:3
|
||||
ENV PYTHONUNBUFFERED 1
|
||||
FROM python:3.9
|
||||
|
||||
ENV PYTHONUNBUFFERED 1
|
||||
|
||||
RUN mkdir /app
|
||||
RUN mkdir /app/static
|
||||
RUN mkdir /app/images
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY requirements.txt /app/
|
||||
RUN pip install -r requirements.txt
|
||||
|
||||
COPY ./bookwyrm /app
|
||||
COPY ./celerywyrm /app
|
||||
|
|
|
@ -57,7 +57,8 @@ services:
|
|||
- redis
|
||||
restart: on-failure
|
||||
flower:
|
||||
image: mher/flower
|
||||
build: .
|
||||
command: flower --port=8888
|
||||
env_file: .env
|
||||
environment:
|
||||
- CELERY_BROKER_URL=${CELERY_BROKER}
|
||||
|
|
Loading…
Reference in a new issue