Skip to content
Snippets Groups Projects
docker-compose.yaml 560 B
Newer Older
Bauer Lucca's avatar
Bauer Lucca committed
services:
  frontend:
    build:
      context: ./sth-frontend
    develop:
      watch:
        - action: sync
          path: ./sth-frontend/src
          target: /app/src
    ports:
      - "5173:5173"
  backend:
    build:
      context: ./sth-backend
    develop:
      watch:
        - action: sync
          path: ./sth-backend/src
          target: /apps/src
    ports:
      - "8080:8080"
Bauer Lucca's avatar
Bauer Lucca committed
  db:
    image: mongo:latest
    environment:
      MONGO_INITDB_ROOT_USERNAME: alhb
      MONGO_INITDB_ROOT_PASSWORD: asdasd123
    ports:
Bauer Lucca's avatar
Bauer Lucca committed