19 lines
401 B
YAML
19 lines
401 B
YAML
version: '3'
|
|
|
|
services:
|
|
backend:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile.dev
|
|
args:
|
|
# Use an ".env" file to overwrite this variable if your local user's UID is not 1000.
|
|
DEV_USER_UID: ${DEV_USER_UID:-1000}
|
|
ports:
|
|
- '8080:8080'
|
|
volumes:
|
|
- ./:/app/
|
|
command: gunicorn --bind=0.0.0.0:8080 --reload tofu_api.app:app
|
|
|
|
volumes:
|
|
mariadb_data:
|