Hi I got a docker compose file... with php-apache. In this image I haven't cron... so I installed inside.
Whenever I shut down my lab and restart the whole cron service is down. I always have to start it with "service cron start"
How can I make it always persistent and autostart on restart? Thanks, Alen
php-apache:
image: ${phpapache}
container_name: php-apache
hostname: php-apache
restart: always
volumes:
- /etc/app/latest:/var/www/html/
ports:
- "8080:80"