docker/docker-compose.yml
2022-09-01 13:09:42 +02:00

27 lines
461 B
YAML

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: