40 lines
1012 B
YAML
40 lines
1012 B
YAML
services:
|
|
prefect-gmv-worker:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
image: gmv-analytics-prefect:0.1.0
|
|
container_name: prefect-gmv-worker
|
|
restart: unless-stopped
|
|
env_file:
|
|
- .env
|
|
environment:
|
|
PROJECT_MAPPING_FILE: /app/店铺映射表.xlsx
|
|
develop:
|
|
watch:
|
|
- action: sync+restart
|
|
path: .
|
|
target: /app
|
|
ignore:
|
|
- .git/
|
|
- .venv/
|
|
- __pycache__/
|
|
- .pytest_cache/
|
|
- logs/
|
|
- "*.pyc"
|
|
- "Dockerfile"
|
|
- "docker-compose.yaml"
|
|
- "pyproject.toml"
|
|
- "supervisord.conf"
|
|
- "requirements-docker.txt"
|
|
- action: rebuild
|
|
path: Dockerfile
|
|
- action: rebuild
|
|
path: docker-compose.yaml
|
|
- action: rebuild
|
|
path: pyproject.toml
|
|
- action: rebuild
|
|
path: supervisord.conf
|
|
- action: rebuild
|
|
path: requirements-docker.txt
|