|
@ -3,11 +3,11 @@ services: |
|
|
|
|
|
|
|
|
backend: |
|
|
backend: |
|
|
build: |
|
|
build: |
|
|
context: . |
|
|
|
|
|
|
|
|
context: .. |
|
|
dockerfile: docker/Dockerfile.dev |
|
|
dockerfile: docker/Dockerfile.dev |
|
|
image: doccano_backend:dev |
|
|
image: doccano_backend:dev |
|
|
volumes: |
|
|
volumes: |
|
|
- .:/src |
|
|
|
|
|
|
|
|
- ..:/src |
|
|
- venv:/root/.local/share |
|
|
- venv:/root/.local/share |
|
|
environment: |
|
|
environment: |
|
|
ADMIN_USERNAME: "${ADMIN_USERNAME}" |
|
|
ADMIN_USERNAME: "${ADMIN_USERNAME}" |
|
@ -28,11 +28,11 @@ services: |
|
|
|
|
|
|
|
|
celery: |
|
|
celery: |
|
|
build: |
|
|
build: |
|
|
context: . |
|
|
|
|
|
|
|
|
context: .. |
|
|
dockerfile: docker/Dockerfile.dev |
|
|
dockerfile: docker/Dockerfile.dev |
|
|
image: doccano_celery:dev |
|
|
image: doccano_celery:dev |
|
|
volumes: |
|
|
volumes: |
|
|
- .:/src |
|
|
|
|
|
|
|
|
- ..:/src |
|
|
- venv:/root/.local/share |
|
|
- venv:/root/.local/share |
|
|
entrypoint: ["/src/tools/dev-celery.sh"] |
|
|
entrypoint: ["/src/tools/dev-celery.sh"] |
|
|
environment: |
|
|
environment: |
|
@ -63,7 +63,7 @@ services: |
|
|
environment: |
|
|
environment: |
|
|
API_URL: "http://backend:8000" |
|
|
API_URL: "http://backend:8000" |
|
|
volumes: |
|
|
volumes: |
|
|
- .:/src |
|
|
|
|
|
|
|
|
- ..:/src |
|
|
- node_modules:/src/frontend/node_modules |
|
|
- node_modules:/src/frontend/node_modules |
|
|
ports: |
|
|
ports: |
|
|
- 3000:3000 |
|
|
- 3000:3000 |