chore: fix inconsistent formatting (npm run prettier) (#543)

This commit is contained in:
Sainan 2024-10-12 23:49:33 +02:00 committed by GitHub
parent cc5713e375
commit 6c4c685690
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 64 additions and 64 deletions

View File

@ -2,15 +2,15 @@
language: "en-US" language: "en-US"
early_access: false early_access: false
reviews: reviews:
profile: "chill" profile: "chill"
request_changes_workflow: false request_changes_workflow: false
changed_files_summary: false changed_files_summary: false
high_level_summary: false high_level_summary: false
poem: false poem: false
review_status: true review_status: true
collapse_walkthrough: false collapse_walkthrough: false
auto_review: auto_review:
enabled: true enabled: true
drafts: false drafts: false
chat: chat:
auto_reply: true auto_reply: true

View File

@ -1,8 +1,8 @@
name: Build Docker image name: Build Docker image
on: on:
push: push:
branches: branches:
- main - main
jobs: jobs:
docker: docker:
if: github.repository == 'spaceninjaserver/SpaceNinjaServer' if: github.repository == 'spaceninjaserver/SpaceNinjaServer'
@ -13,14 +13,14 @@ jobs:
- name: Log in to container registry - name: Log in to container registry
uses: docker/login-action@v3 uses: docker/login-action@v3
with: with:
registry: ghcr.io registry: ghcr.io
username: ${{ github.actor }} username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }} password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push - name: Build and push
uses: docker/build-push-action@v6 uses: docker/build-push-action@v6
with: with:
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64
push: true push: true
tags: | tags: |
ghcr.io/spaceninjaserver/spaceninjaserver:latest ghcr.io/spaceninjaserver/spaceninjaserver:latest
ghcr.io/spaceninjaserver/spaceninjaserver:${{ github.sha }} ghcr.io/spaceninjaserver/spaceninjaserver:${{ github.sha }}

View File

@ -1,43 +1,43 @@
services: services:
openwf: openwf:
# build: . # build: .
image: ghcr.io/spaceninjaserver/SpaceNinjaServer:latest image: ghcr.io/spaceninjaserver/SpaceNinjaServer:latest
environment: environment:
APP_MONGODB_URL: mongodb://openwfagent:spaceninjaserver@mongodb:27017/ APP_MONGODB_URL: mongodb://openwfagent:spaceninjaserver@mongodb:27017/
# Following environment variables are set to default image values. # Following environment variables are set to default image values.
# Uncomment to edit. # Uncomment to edit.
# APP_MY_ADDRESS: localhost # APP_MY_ADDRESS: localhost
# APP_HTTP_PORT: 80 # APP_HTTP_PORT: 80
# APP_HTTPS_PORT: 443 # APP_HTTPS_PORT: 443
# APP_AUTO_CREATE_ACCOUNT: true # APP_AUTO_CREATE_ACCOUNT: true
# APP_SKIP_STORY_MODE_CHOICE: true # APP_SKIP_STORY_MODE_CHOICE: true
# APP_SKIP_TUTORIAL: true # APP_SKIP_TUTORIAL: true
# APP_SKIP_ALL_DIALOGUE: true # APP_SKIP_ALL_DIALOGUE: true
# APP_UNLOCK_ALL_SCANS: true # APP_UNLOCK_ALL_SCANS: true
# APP_UNLOCK_ALL_MISSIONS: true # APP_UNLOCK_ALL_MISSIONS: true
# APP_UNLOCK_ALL_QUESTS: true # APP_UNLOCK_ALL_QUESTS: true
# APP_COMPLETE_ALL_QUESTS: true # APP_COMPLETE_ALL_QUESTS: true
# APP_INFINITE_RESOURCES: true # APP_INFINITE_RESOURCES: true
# APP_UNLOCK_ALL_SHIP_FEATURES: true # APP_UNLOCK_ALL_SHIP_FEATURES: true
# APP_UNLOCK_ALL_SHIP_DECORATIONS: true # APP_UNLOCK_ALL_SHIP_DECORATIONS: true
# APP_UNLOCK_ALL_FLAVOUR_ITEMS: true # APP_UNLOCK_ALL_FLAVOUR_ITEMS: true
# APP_UNLOCK_ALL_SKINS: true # APP_UNLOCK_ALL_SKINS: true
# APP_UNIVERSAL_POLARITY_EVERYWHERE: true # APP_UNIVERSAL_POLARITY_EVERYWHERE: true
# APP_SPOOF_MASTERY_RANK: -1 # APP_SPOOF_MASTERY_RANK: -1
volumes: volumes:
- ./docker-data/static:/app/static/data - ./docker-data/static:/app/static/data
- ./docker-data/logs:/app/logs - ./docker-data/logs:/app/logs
ports: ports:
- 80:80 - 80:80
- 443:443 - 443:443
depends_on: depends_on:
- mongodb - mongodb
mongodb: mongodb:
image: docker.io/library/mongo:8.0.0-noble image: docker.io/library/mongo:8.0.0-noble
environment: environment:
MONGO_INITDB_ROOT_USERNAME: openwfagent MONGO_INITDB_ROOT_USERNAME: openwfagent
MONGO_INITDB_ROOT_PASSWORD: spaceninjaserver MONGO_INITDB_ROOT_PASSWORD: spaceninjaserver
volumes: volumes:
- ./docker-data/database:/data/db - ./docker-data/database:/data/db