-
Notifications
You must be signed in to change notification settings - Fork 202
Open
Description
Hello,
I set up Ofelia via docker compose. When I start the stack, I get the following error:
unable to start a empty scheduler
I have Socket Proxy configured, but I have tried Docker Socket, and it does not work either.
docker-compose.yml
networks:
default:
driver: bridge
socket_proxy:
name: socket_proxy
driver: bridge
ipam:
config:
- subnet: 192.168.91.0/24
[...]
include:
[...]
- compose/ofelia.yml
- compose/packt-cli.yml
ofelia.yml
services:
# Ofelia - a job scheduler
# Create ofelia.conf file
ofelia:
container_name: ofelia
image: mcuadros/ofelia:latest
security_opt:
- no-new-privileges:true
restart: unless-stopped
command: daemon --docker
networks:
- socket_proxy
environment:
- DOCKER_HOST
- TZ=$TZ
- PUID=$PUID
- PGID=$PGID
packt-cli.yml
services:
# packt-cli - Free Learning Packt Publishing script
packt-cli:
container_name: packt-cli
environment:
- PACKT_CLI_ARGS=$PACKT_CLI_ARGS
- TZ=$TZ
- PUID=$PUID
- PGID=$PGID
image: laurentlemercier/packt-cli
volumes:
- $DOCKERDIR/appdata/packt-cli/app:/app
- $DOCKERDIR/appdata/packt-cli/data:/data
profiles: [ "apps", "all" ]
restart: no
labels:
- "ofelia.enabled=true"
- "ofelia.job-run.packt-cli.schedule=@daily"
- "ofelia.job-run.packt-cli.container=packt-cli"
Metadata
Metadata
Assignees
Labels
No labels