Closed vukasinpetrovic closed 4 weeks ago
@vukasinpetrovic hi, yes we are working on the problem. Will be fixed in #93 by tomorrow 👍
@vukasinpetrovic can you try now? We've just added a new docker compose file
@amhsirak Thank you for the update, I'll try it now. Which branch should I use, dev or master?
@vukasinpetrovic 1. Use the master branch to build the compose
Do let me know if this works
It works now, thank you for the update. Maybe only one more thing that could be useful for someone just starting the project, is an example .env file.
Here is mine if someone needs it:
NODE_ENV=production # Set to 'development' or 'production' as required
JWT_SECRET=your_jwt_secret_key # Replace with a secure JWT secret key
DB_NAME=maxun # Your PostgreSQL database name
DB_USER=admin # PostgreSQL username
DB_PASSWORD=admin # PostgreSQL password
DB_HOST=postgres # Host for PostgreSQL in Docker
DB_PORT=5432 # Port for PostgreSQL (default: 5432)
ENCRYPTION_KEY=your_encryption_key # Key for encrypting sensitive data
MINIO_ENDPOINT=minio # MinIO endpoint in Docker
MINIO_PORT=9000 # Port for MinIO (default: 9000)
MINIO_ACCESS_KEY=minio_access_key # MinIO access key
MINIO_SECRET_KEY=minio_secret_key # MinIO secret key
REDIS_HOST=redis # Redis host in Docker
REDIS_PORT=6379 # Redis port (default: 6379)
# Backend URLs
BACKEND_URL=http://localhost:8080 # Internal URL for backend service
VITE_BACKEND_URL=http://localhost:8080 # URL used by frontend to connect to backend
# Optional Google OAuth settings for Google Sheet integration
GOOGLE_CLIENT_ID=your_google_client_id
GOOGLE_CLIENT_SECRET=your_google_client_secret
GOOGLE_REDIRECT_URI=your_google_redirect_uri
# Optional telemetry setting
MAXUN_TELEMETRY=true # Enable or disable telemetry (true or false)
Hi, I've been trying to run the app but without success. I tried both master and dev branches, but there is the problem with communication between frontend and backend.
On the master branch it was constantly giving exception that the port 8080 is being already used. On the dev branch, when I go to /api-docs, it displays the swagger, but when I try to register, backend connection drops and it shuts down (I guess, because /api-docs no longer works).
Is this something you can fix quickly? I'm eager to try the app, but I'm stuggling to start it.