build.yml 789 B

123456789101112131415161718192021222324252627282930313233
  1. name: Musare Build
  2. on: [ push, pull_request, workflow_dispatch ]
  3. env:
  4. COMPOSE_PROJECT_NAME: musare
  5. APP_ENV: production
  6. BACKEND_HOST: 127.0.0.1
  7. BACKEND_PORT: 8080
  8. FRONTEND_HOST: 127.0.0.1
  9. FRONTEND_PORT: 80
  10. MONGO_HOST: 127.0.0.1
  11. MONGO_PORT: 27017
  12. MONGO_ROOT_PASSWORD: PASSWORD_HERE
  13. MONGO_USER_USERNAME: musare
  14. MONGO_USER_PASSWORD: OTHER_PASSWORD_HERE
  15. MONGO_DATA_LOCATION: .db
  16. MONGO_VERSION: 5.0
  17. REDIS_HOST: 127.0.0.1
  18. REDIS_PORT: 6379
  19. REDIS_PASSWORD: PASSWORD
  20. REDIS_DATA_LOCATION: .redis
  21. jobs:
  22. build:
  23. runs-on: ubuntu-latest
  24. steps:
  25. - uses: actions/checkout@v4
  26. - name: Build Musare
  27. run: |
  28. cp .env.example .env
  29. ./musare.sh build