Skip to content

Commit c099ea7

Browse files
committed
fix Permission denied celery beat
1 parent 6895475 commit c099ea7

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Dockerfile

-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ RUN if [ "x$skip_ds_deps" = "x" ] ; then pip install -r requirements_all_ds.txt
2222

2323
COPY . /app
2424
COPY --from=frontend-builder /frontend/client/dist /app/client/dist
25-
RUN chown -R redash /app
26-
USER redash
2725

2826
ENTRYPOINT ["/app/bin/docker-entrypoint"]
2927
CMD ["server"]

docker-compose.staging.yml.sample

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ services:
3838
REDASH_DATABASE_URL: "postgresql://postgres@postgres/postgres"
3939
QUEUES: "queries,scheduled_queries,celery"
4040
WORKERS_COUNT: 2
41+
restart: always
4142
redis:
4243
image: redis:3-alpine
4344
restart: unless-stopped

0 commit comments

Comments
 (0)