This commit is contained in:
Parsa Nazer
2025-02-25 00:22:40 +03:30
parent 523685c3bc
commit 8271429b03
2 changed files with 2 additions and 4 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
FROM alpine:3.19
RUN apk add --no-cache postgresql-client curl zip tzdata dcron
RUN apk add --no-cache postgresql-client curl zip tzdata
RUN ln -sf /usr/share/zoneinfo/UTC /etc/localtime
RUN mkdir -p /var/log/cron /backups
@@ -12,4 +12,4 @@ RUN chmod +x backup.sh && \
chmod 0644 /etc/crontabs/root && \
touch /var/log/cron/cron.log
CMD ["crond", "-f", "-L", "/var/log/cron/cron.log"]
CMD ["busybox", "crond", "-f", "-L", "/var/log/cron/cron.log"]
-2
View File
@@ -59,8 +59,6 @@ services:
- backups:/backups
networks:
- default
cap_add:
- SYS_ADMIN
volumes:
postgres_data: