diff --git a/.coderabbit.yaml b/.coderabbit.yaml index 433414dd..705ed940 100644 --- a/.coderabbit.yaml +++ b/.coderabbit.yaml @@ -2,15 +2,15 @@ language: "en-US" early_access: false reviews: - profile: "chill" - request_changes_workflow: false - changed_files_summary: false - high_level_summary: false - poem: false - review_status: true - collapse_walkthrough: false - auto_review: - enabled: true - drafts: false + profile: "chill" + request_changes_workflow: false + changed_files_summary: false + high_level_summary: false + poem: false + review_status: true + collapse_walkthrough: false + auto_review: + enabled: true + drafts: false chat: - auto_reply: true + auto_reply: true diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 69418993..3aa07742 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,4 +19,4 @@ jobs: - run: cp config.json.example config.json - run: echo '{"version":"","buildLabel":"","matchmakingBuildId":""}' > static/data/buildConfig.json - run: npm run build - - run: npm run lint \ No newline at end of file + - run: npm run lint diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 52f023e8..c396c1f9 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -1,8 +1,8 @@ name: Build Docker image on: - push: - branches: - - main + push: + branches: + - main jobs: docker: if: github.repository == 'spaceninjaserver/SpaceNinjaServer' @@ -13,14 +13,14 @@ jobs: - name: Log in to container registry uses: docker/login-action@v3 with: - registry: ghcr.io - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} - name: Build and push uses: docker/build-push-action@v6 with: - platforms: linux/amd64,linux/arm64 - push: true - tags: | - ghcr.io/spaceninjaserver/spaceninjaserver:latest - ghcr.io/spaceninjaserver/spaceninjaserver:${{ github.sha }} + platforms: linux/amd64,linux/arm64 + push: true + tags: | + ghcr.io/spaceninjaserver/spaceninjaserver:latest + ghcr.io/spaceninjaserver/spaceninjaserver:${{ github.sha }} diff --git a/docker-compose.yml b/docker-compose.yml index 5882ad5d..b2eba1e8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,43 +1,43 @@ services: - openwf: - # build: . - image: ghcr.io/spaceninjaserver/SpaceNinjaServer:latest - environment: - APP_MONGODB_URL: mongodb://openwfagent:spaceninjaserver@mongodb:27017/ + openwf: + # build: . + image: ghcr.io/spaceninjaserver/SpaceNinjaServer:latest + environment: + APP_MONGODB_URL: mongodb://openwfagent:spaceninjaserver@mongodb:27017/ - # Following environment variables are set to default image values. - # Uncomment to edit. - - # APP_MY_ADDRESS: localhost - # APP_HTTP_PORT: 80 - # APP_HTTPS_PORT: 443 - # APP_AUTO_CREATE_ACCOUNT: true - # APP_SKIP_STORY_MODE_CHOICE: true - # APP_SKIP_TUTORIAL: true - # APP_SKIP_ALL_DIALOGUE: true - # APP_UNLOCK_ALL_SCANS: true - # APP_UNLOCK_ALL_MISSIONS: true - # APP_UNLOCK_ALL_QUESTS: true - # APP_COMPLETE_ALL_QUESTS: true - # APP_INFINITE_RESOURCES: true - # APP_UNLOCK_ALL_SHIP_FEATURES: true - # APP_UNLOCK_ALL_SHIP_DECORATIONS: true - # APP_UNLOCK_ALL_FLAVOUR_ITEMS: true - # APP_UNLOCK_ALL_SKINS: true - # APP_UNIVERSAL_POLARITY_EVERYWHERE: true - # APP_SPOOF_MASTERY_RANK: -1 - volumes: - - ./docker-data/static:/app/static/data - - ./docker-data/logs:/app/logs - ports: - - 80:80 - - 443:443 - depends_on: - - mongodb - mongodb: - image: docker.io/library/mongo:8.0.0-noble - environment: - MONGO_INITDB_ROOT_USERNAME: openwfagent - MONGO_INITDB_ROOT_PASSWORD: spaceninjaserver - volumes: - - ./docker-data/database:/data/db + # Following environment variables are set to default image values. + # Uncomment to edit. + + # APP_MY_ADDRESS: localhost + # APP_HTTP_PORT: 80 + # APP_HTTPS_PORT: 443 + # APP_AUTO_CREATE_ACCOUNT: true + # APP_SKIP_STORY_MODE_CHOICE: true + # APP_SKIP_TUTORIAL: true + # APP_SKIP_ALL_DIALOGUE: true + # APP_UNLOCK_ALL_SCANS: true + # APP_UNLOCK_ALL_MISSIONS: true + # APP_UNLOCK_ALL_QUESTS: true + # APP_COMPLETE_ALL_QUESTS: true + # APP_INFINITE_RESOURCES: true + # APP_UNLOCK_ALL_SHIP_FEATURES: true + # APP_UNLOCK_ALL_SHIP_DECORATIONS: true + # APP_UNLOCK_ALL_FLAVOUR_ITEMS: true + # APP_UNLOCK_ALL_SKINS: true + # APP_UNIVERSAL_POLARITY_EVERYWHERE: true + # APP_SPOOF_MASTERY_RANK: -1 + volumes: + - ./docker-data/static:/app/static/data + - ./docker-data/logs:/app/logs + ports: + - 80:80 + - 443:443 + depends_on: + - mongodb + mongodb: + image: docker.io/library/mongo:8.0.0-noble + environment: + MONGO_INITDB_ROOT_USERNAME: openwfagent + MONGO_INITDB_ROOT_PASSWORD: spaceninjaserver + volumes: + - ./docker-data/database:/data/db