返回提交历史
Modified
.coderabbit.yaml
+11
-11
Modified
.github/workflows/build.yml
+1
-1
Modified
.github/workflows/docker.yml
+11
-11
Modified
docker-compose.yml
+41
-41
XFEstudio/SpaceNinjaServer
chore: fix inconsistent formatting (npm run prettier) (#543)
6c4c6856
代码差异
4 个文件
+64
-64
@@ -2,15 +2,15 @@
2
2
language: "en-US"
3
3
early_access: false
4
4
reviews:
5
profile: "chill"
6
request_changes_workflow: false
7
changed_files_summary: false
8
high_level_summary: false
9
poem: false
10
review_status: true
11
collapse_walkthrough: false
12
auto_review:
13
enabled: true
14
drafts: false
5
profile: "chill"
6
request_changes_workflow: false
7
changed_files_summary: false
8
high_level_summary: false
9
poem: false
10
review_status: true
11
collapse_walkthrough: false
12
auto_review:
13
enabled: true
14
drafts: false
15
15
chat:
16
auto_reply: true
16
auto_reply: true
@@ -19,4 +19,4 @@ jobs:
19
19
- run: cp config.json.example config.json
20
20
- run: echo '{"version":"","buildLabel":"","matchmakingBuildId":""}' > static/data/buildConfig.json
21
21
- run: npm run build
22
- run: npm run lint
22
- run: npm run lint
@@ -1,8 +1,8 @@
1
1
name: Build Docker image
2
2
on:
3
push:
4
branches:
5
- main
3
push:
4
branches:
5
- main
6
6
jobs:
7
7
docker:
8
8
if: github.repository == 'spaceninjaserver/SpaceNinjaServer'
@@ -13,14 +13,14 @@ jobs:
13
13
- name: Log in to container registry
14
14
uses: docker/login-action@v3
15
15
with:
16
registry: ghcr.io
17
username: ${{ github.actor }}
18
password: ${{ secrets.GITHUB_TOKEN }}
16
registry: ghcr.io
17
username: ${{ github.actor }}
18
password: ${{ secrets.GITHUB_TOKEN }}
19
19
- name: Build and push
20
20
uses: docker/build-push-action@v6
21
21
with:
22
platforms: linux/amd64,linux/arm64
23
push: true
24
tags: |
25
ghcr.io/spaceninjaserver/spaceninjaserver:latest
26
ghcr.io/spaceninjaserver/spaceninjaserver:${{ github.sha }}
22
platforms: linux/amd64,linux/arm64
23
push: true
24
tags: |
25
ghcr.io/spaceninjaserver/spaceninjaserver:latest
26
ghcr.io/spaceninjaserver/spaceninjaserver:${{ github.sha }}
@@ -1,43 +1,43 @@
1
1
services:
2
openwf:
3
# build: .
4
image: ghcr.io/spaceninjaserver/SpaceNinjaServer:latest
5
environment:
6
APP_MONGODB_URL: mongodb://openwfagent:spaceninjaserver@mongodb:27017/
2
openwf:
3
# build: .
4
image: ghcr.io/spaceninjaserver/SpaceNinjaServer:latest
5
environment:
6
APP_MONGODB_URL: mongodb://openwfagent:spaceninjaserver@mongodb:27017/
7
7
8
# Following environment variables are set to default image values.
9
# Uncomment to edit.
10
11
# APP_MY_ADDRESS: localhost
12
# APP_HTTP_PORT: 80
13
# APP_HTTPS_PORT: 443
14
# APP_AUTO_CREATE_ACCOUNT: true
15
# APP_SKIP_STORY_MODE_CHOICE: true
16
# APP_SKIP_TUTORIAL: true
17
# APP_SKIP_ALL_DIALOGUE: true
18
# APP_UNLOCK_ALL_SCANS: true
19
# APP_UNLOCK_ALL_MISSIONS: true
20
# APP_UNLOCK_ALL_QUESTS: true
21
# APP_COMPLETE_ALL_QUESTS: true
22
# APP_INFINITE_RESOURCES: true
23
# APP_UNLOCK_ALL_SHIP_FEATURES: true
24
# APP_UNLOCK_ALL_SHIP_DECORATIONS: true
25
# APP_UNLOCK_ALL_FLAVOUR_ITEMS: true
26
# APP_UNLOCK_ALL_SKINS: true
27
# APP_UNIVERSAL_POLARITY_EVERYWHERE: true
28
# APP_SPOOF_MASTERY_RANK: -1
29
volumes:
30
- ./docker-data/static:/app/static/data
31
- ./docker-data/logs:/app/logs
32
ports:
33
- 80:80
34
- 443:443
35
depends_on:
36
- mongodb
37
mongodb:
38
image: docker.io/library/mongo:8.0.0-noble
39
environment:
40
MONGO_INITDB_ROOT_USERNAME: openwfagent
41
MONGO_INITDB_ROOT_PASSWORD: spaceninjaserver
42
volumes:
43
- ./docker-data/database:/data/db
8
# Following environment variables are set to default image values.
9
# Uncomment to edit.
10
11
# APP_MY_ADDRESS: localhost
12
# APP_HTTP_PORT: 80
13
# APP_HTTPS_PORT: 443
14
# APP_AUTO_CREATE_ACCOUNT: true
15
# APP_SKIP_STORY_MODE_CHOICE: true
16
# APP_SKIP_TUTORIAL: true
17
# APP_SKIP_ALL_DIALOGUE: true
18
# APP_UNLOCK_ALL_SCANS: true
19
# APP_UNLOCK_ALL_MISSIONS: true
20
# APP_UNLOCK_ALL_QUESTS: true
21
# APP_COMPLETE_ALL_QUESTS: true
22
# APP_INFINITE_RESOURCES: true
23
# APP_UNLOCK_ALL_SHIP_FEATURES: true
24
# APP_UNLOCK_ALL_SHIP_DECORATIONS: true
25
# APP_UNLOCK_ALL_FLAVOUR_ITEMS: true
26
# APP_UNLOCK_ALL_SKINS: true
27
# APP_UNIVERSAL_POLARITY_EVERYWHERE: true
28
# APP_SPOOF_MASTERY_RANK: -1
29
volumes:
30
- ./docker-data/static:/app/static/data
31
- ./docker-data/logs:/app/logs
32
ports:
33
- 80:80
34
- 443:443
35
depends_on:
36
- mongodb
37
mongodb:
38
image: docker.io/library/mongo:8.0.0-noble
39
environment:
40
MONGO_INITDB_ROOT_USERNAME: openwfagent
41
MONGO_INITDB_ROOT_PASSWORD: spaceninjaserver
42
volumes:
43
- ./docker-data/database:/data/db