Newer
Older
# frontend:
# build:
# context: ./sth-frontend
# develop:
# watch:
# - action: sync
# path: ./sth-frontend/src
# target: /app/src
# ports:
# - "3000:3000"
# backend:
# build:
# context: ./sth-backend
# develop:
# watch:
# - action: sync
# path: ./sth-backend/src
# target: /apps/src
# ports:
# - "8080:8080"
db:
image: mongo:latest
environment:
MONGO_INITDB_ROOT_USERNAME: alhb
MONGO_INITDB_ROOT_PASSWORD: asdasd123
ports: