removed network for container cron, not needed

removes the necessity for a useless network <projectname>_default
This commit is contained in:
Bryan Joshua Pedini 2023-04-22 23:39:27 +02:00
parent 448ef73f1c
commit e201ec61a6

View File

@ -3,6 +3,7 @@ services:
cron: cron:
image: bryanpedini/dockercron:${CRON_VERSION} image: bryanpedini/dockercron:${CRON_VERSION}
restart: unless-stopped restart: unless-stopped
network_mode: none
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
- ${CRON_CRONTAB}:/crontab/root - ${CRON_CRONTAB}:/crontab/root