Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Алекс
Docker_nextcloud
Commits
8db861d6
Unverified
Commit
8db861d6
authored
7 years ago
by
Tilo Spannagel
Browse files
Options
Download
Email Patches
Plain Diff
Use cron.sh for the cron container
parent
71380e0a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
14 deletions
+1
-14
stack.yml
stack.yml
+1
-14
No files found.
stack.yml
View file @
8db861d6
...
...
@@ -31,20 +31,7 @@ services:
restart
:
always
volumes
:
-
nextcloud:/var/www/html
user
:
www-data
entrypoint
:
|
bash -c 'bash -s <<EOF
trap "break;exit" SIGHUP SIGINT SIGTERM
while [ ! -f /var/www/html/config/config.php ]; do
sleep 1
done
while true; do
php -f /var/www/html/cron.php
sleep 15m
done
EOF'
entrypoint
:
/cron.sh
depends_on
:
-
db
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment