version: '3.3' services: app: image: jeroened/webcron:latest restart: always env_file: .env ports: - 80:80 depends_on: - db db: image: mariadb hostname: webcrondb restart: always environment: - MYSQL_RANDOM_ROOT_PASSWORD=yes - MYSQL_USER=webcron - MYSQL_PASSWORD=makemesecretplease - MYSQL_DATABASE=webcron volumes: - webcron_db:/var/lib/mysql volumes: webcron_db: