Skip to content
Snippets Groups Projects
docker-compose.yaml 395 B
Newer Older
Bauer Lucca's avatar
Bauer Lucca committed
version: '3'
services:
  frontend:
    build:
      context: ./sth-frontend
    ports:
      - "3000:3000"
  backend:
    build:
      context: ./sth-backend
    ports:
      - "8080:8080"
  db:
    image: mongo:latest
    environment:
      MONGO_INITDB_DATABASE: event-planner
      MONGO_INITDB_ROOT_USERNAME: alhb
      MONGO_INITDB_ROOT_PASSWORD: asdasd123
    ports:
      - "27017:27017"