ajout des Dockerfile & compose
This commit is contained in:
parent
b22231c8b6
commit
19a0bdb2bb
4 changed files with 147 additions and 0 deletions
30
docker-compose.yml
Normal file
30
docker-compose.yml
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
services:
|
||||
|
||||
backend_entwine:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile.entwine
|
||||
container_name: pointcloud-backend-htmx
|
||||
ports:
|
||||
- "8090:8000"
|
||||
volumes:
|
||||
- ./backend:/app/backend
|
||||
environment:
|
||||
- HOST_DATA_DIR=/app/backend/data
|
||||
restart: unless-stopped
|
||||
|
||||
frontend_htmx:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile.frontend
|
||||
container_name: pointcloud-frontend-htmx
|
||||
ports:
|
||||
- "8091:8080"
|
||||
volumes:
|
||||
- ./frontend:/app/frontend
|
||||
environment:
|
||||
- MAX_UPLOAD_SIZE_GB=10
|
||||
- BACKEND_URL=http://backend_entwine:8000
|
||||
depends_on:
|
||||
- backend_entwine
|
||||
restart: unless-stopped
|
||||
Loading…
Add table
Add a link
Reference in a new issue