Browse Source
Merge pull request #1554 from doccano/fix/1546
Specify image names in compose files
pull/1557/head
Hiroki Nakayama
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
4 additions and
0 deletions
-
docker-compose.dev.yml
-
docker-compose.prod.yml
|
|
@ -5,6 +5,7 @@ services: |
|
|
|
build: |
|
|
|
context: . |
|
|
|
dockerfile: backend/Dockerfile.dev |
|
|
|
image: doccano_backend:dev |
|
|
|
volumes: |
|
|
|
- .:/src |
|
|
|
- venv:/root/.local/share |
|
|
@ -28,6 +29,7 @@ services: |
|
|
|
build: |
|
|
|
context: . |
|
|
|
dockerfile: backend/Dockerfile.dev |
|
|
|
image: doccano_celery:dev |
|
|
|
volumes: |
|
|
|
- .:/src |
|
|
|
- venv:/root/.local/share |
|
|
|
|
|
@ -5,6 +5,7 @@ services: |
|
|
|
build: |
|
|
|
context: . |
|
|
|
dockerfile: backend/Dockerfile.prod |
|
|
|
image: doccano_backend:prod |
|
|
|
volumes: |
|
|
|
- static_volume:/backend/staticfiles |
|
|
|
- media:/backend/media |
|
|
@ -26,6 +27,7 @@ services: |
|
|
|
build: |
|
|
|
context: . |
|
|
|
dockerfile: backend/Dockerfile.prod |
|
|
|
image: doccano_celery:prod |
|
|
|
volumes: |
|
|
|
- media:/backend/media |
|
|
|
entrypoint: ["/opt/bin/prod-celery.sh"] |
|
|
|