docker/docker-compose.yml

27 lines
461 B
YAML
Raw Normal View History

2022-09-01 12:39:43 +02:00
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: