feat: add ability to create folders and files and persist files to sharepoint
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
services:
|
||||
mongodb:
|
||||
image: mongo:7
|
||||
ports:
|
||||
- "27017:27017"
|
||||
volumes:
|
||||
- mongo_data:/data/db
|
||||
healthcheck:
|
||||
test: echo 'db.runCommand("ping").ok' | mongosh --quiet
|
||||
interval: 10s
|
||||
retries: 5
|
||||
start_period: 20s
|
||||
backend:
|
||||
container_name: paragonplayground-backend
|
||||
build:
|
||||
context: ./backend
|
||||
dockerfile: Dockerfile
|
||||
target: debug
|
||||
ports:
|
||||
- "5000:8080"
|
||||
environment:
|
||||
- MongoDb__ConnectionString=mongodb://mongodb:27017
|
||||
- MongoDb__DatabaseName=paragon_playground
|
||||
- ASPNETCORE_ENVIRONMENT=Development
|
||||
- ASPNETCORE_URLS=http://+:8080
|
||||
depends_on:
|
||||
mongodb:
|
||||
condition: service_healthy
|
||||
frontend:
|
||||
container_name: paragonplayground-frontend
|
||||
build:
|
||||
context: ./frontend
|
||||
dockerfile: Dockerfile
|
||||
ports:
|
||||
- "3000:3000"
|
||||
volumes:
|
||||
- ./frontend/src:/app/src
|
||||
depends_on:
|
||||
- backend
|
||||
nginx:
|
||||
image: nginx:alpine
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
volumes:
|
||||
- ./nginx/nginx.conf:/etc/nginx/conf.d/default.conf
|
||||
- ./certs:/etc/nginx/certs
|
||||
depends_on:
|
||||
- backend
|
||||
- frontend
|
||||
volumes:
|
||||
mongo_data:
|
||||
Reference in New Issue
Block a user