mirror of
https://codeberg.org/catask-org/catask.git
synced 2025-04-19 13:23:41 -05:00
connect schema to mariadb container's initdb
This commit is contained in:
parent
1fff70f06c
commit
49b4530a2b
1 changed files with 1 additions and 3 deletions
|
@ -10,12 +10,10 @@ services:
|
|||
MARIADB_USER: catask
|
||||
MARIADB_PASSWORD: catask
|
||||
volumes:
|
||||
- ./schema.sql:/docker-entrypoint-initdb.d/1.sql
|
||||
- db-data:/var/lib/mysql
|
||||
|
||||
catask:
|
||||
entrypoint: |
|
||||
flask init-db
|
||||
gunicorn -w 4 app:app
|
||||
ports:
|
||||
- "8000:8000"
|
||||
volumes:
|
||||
|
|
Loading…
Add table
Reference in a new issue