3c2744a3da
* add basic pre-commit file * add flake8 * add isort * add pep585-upgrade (typing upgrades) * use namespace for import * add mypy * update ci for backend * flake8 scope * fix version format * update makefile * disable strict option (temporary) * fix mypy issues * upgrade type hints (pre-commit) * add vscode typing check * add types to dev deps * remote container draft * update setup script * update compose version * run setup on create * dev containers update * remove unused pages * update setup tips * expose ports * Update pre-commit to include flask8-print (#1053) * Add in flake8-print to pre-commit * pin version of flake8-print * formatting * update getting strated docs * add mypy to pre-commit * purge .mypy_cache on clean * drop mypy Co-authored-by: zackbcom <zackbcom@users.noreply.github.com>
47 lines
1 KiB
YAML
47 lines
1 KiB
YAML
# Use root/example as user/password credentials
|
|
version: "3.4"
|
|
services:
|
|
# Vue Frontend
|
|
mealie-frontend:
|
|
container_name: mealie-frontend
|
|
image: mealie-frontend:dev
|
|
build:
|
|
context: ./frontend
|
|
dockerfile: Dockerfile.frontend
|
|
restart: always
|
|
ports:
|
|
- 9920:8080
|
|
environment:
|
|
- GLOBAL_MIDDLEWARE=null
|
|
- BASE_URL=""
|
|
- ALLOW_SIGNUP=true
|
|
volumes:
|
|
- ./frontend/:/app
|
|
- /app/node_modules
|
|
|
|
# Fast API
|
|
mealie-api:
|
|
container_name: mealie-api
|
|
image: mealie-api:dev
|
|
build:
|
|
context: ./
|
|
target: development
|
|
dockerfile: Dockerfile
|
|
restart: always
|
|
ports:
|
|
- 9921:9000
|
|
environment:
|
|
TZ: America/Anchorage # Specify Correct Timezone for Date/Time to line up correctly.
|
|
volumes:
|
|
- ./dev/data:/app/dev/data
|
|
- ./mealie:/app/mealie
|
|
|
|
# Mkdocs
|
|
mealie-docs:
|
|
container_name: mealie-docs
|
|
image: squidfunk/mkdocs-material
|
|
restart: always
|
|
ports:
|
|
- 9922:8000
|
|
volumes:
|
|
- ./docs:/docs
|