name: stapler services: stapler: build: . restart: unless-stopped ports: - "80:80" - "443:443" volumes: - "./data:/data" - "./letsencrypt:/etc/letsencrypt" env_file: .env command: --debug run stapler-crontab: build: . restart: unless-stopped volumes: - "./data:/data" - "./letsencrypt:/etc/letsencrypt" - "./crontab:/etc/crontabs/root" env_file: .env entrypoint: /usr/sbin/crond -f