version: "3.8" # Docker Compose overrides for development environments services: frontend: build: opendc-web/opendc-web-ui ports: - "8080:3000" environment: NEXT_PUBLIC_API_BASE_URL: http://localhost:8081 api: build: opendc-web/opendc-web-api ports: - "8081:80" environment: SENTRY_ENVIRONMENT: "development" simulator: build: . environment: SENTRY_ENVIRONMENT: "development" mongo: ports: - "27017:27017" mongo-express: image: mongo-express restart: on-failure networks: - backend depends_on: - mongo ports: - "8082:8081" environment: ME_CONFIG_MONGODB_ADMINUSERNAME: "${MONGO_INITDB_ROOT_USERNAME}" ME_CONFIG_MONGODB_ADMINPASSWORD: "${MONGO_INITDB_ROOT_PASSWORD}"