add docker compose

This commit is contained in:
max 2024-12-10 10:13:38 +00:00 committed by theycallhermax
parent d8d6dfda8a
commit df399bd95b
No known key found for this signature in database
GPG key ID: 24D2803F3E25BF2D

19
docker-compose.yml Normal file
View file

@ -0,0 +1,19 @@
name: catask
services:
mariadb:
image: mariadb
restart: always
environment:
MYSQL_DATABASE: catask
MYSQL_USER: catask
MYSQL_PASSWORD: catask
catask:
entrypoint: |
flask init-db
gunicorn -w 4 app:app
build:
dockerfile: Dockerfile
depends_on:
- mariadb