We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20ac4da commit 126801aCopy full SHA for 126801a
hetzner/taginfo/taginfo.production.yml
@@ -16,12 +16,13 @@ services:
16
- |
17
set -ex
18
echo "#!/bin/bash
19
+ rm -rf /usr/src/app/data/*
20
/usr/src/app/start.sh
21
sleep 7200
22
# restart web container
23
curl -X POST --unix-socket /var/run/docker.sock http://v1.41/containers/taginfo_web/restart" > /run_task.sh
24
chmod +x /run_task.sh
-
25
+ /run_task.sh
26
# 2. Set cron: Run every 3 days at 3:00 AM
27
echo "0 8 */3 * * /run_task.sh >> /var/log/taginfo-cron.log 2>&1" | crontab -
28
@@ -30,4 +31,5 @@ services:
30
31
env_file:
32
- ./.env.taginfo
33
networks:
- - ohm_network
34
+ - ohm_network
35
+
0 commit comments