返回提交历史
Modified
Dockerfile
+34
-11
Modified
docker-compose.yml
+34
-13
Modified
docker-entrypoint.sh
+3
-2
XFEstudio/XFESpaceNinjaServer
chore: update docker stuff (#1961)
Some Docker stuff I updated ~~but keeping WIP for now, until I know whether this breaks or not, if someone could test it for me. Will close the PR if it doesn't, cuz if I cannot even run it on my machine (Docker only crashing on my end in general), then its pointless for me to mess with it.~~ Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/1961 Co-authored-by: Animan8000 <animan8000@noreply.localhost> Co-committed-by: Animan8000 <animan8000@noreply.localhost>
562ddd51
代码差异
3 个文件
+71
-26
@@ -5,17 +5,40 @@ ENV APP_MY_ADDRESS=localhost
5
5
ENV APP_HTTP_PORT=80
6
6
ENV APP_HTTPS_PORT=443
7
7
ENV APP_AUTO_CREATE_ACCOUNT=true
8
ENV APP_SKIP_STORY_MODE_CHOICE=true
9
ENV APP_SKIP_TUTORIAL=true
10
ENV APP_SKIP_ALL_DIALOGUE=true
11
ENV APP_UNLOCK_ALL_SCANS=true
12
ENV APP_UNLOCK_ALL_MISSIONS=true
13
ENV APP_INFINITE_RESOURCES=true
14
ENV APP_UNLOCK_ALL_SHIP_FEATURES=true
15
ENV APP_UNLOCK_ALL_SHIP_DECORATIONS=true
16
ENV APP_UNLOCK_ALL_FLAVOUR_ITEMS=true
17
ENV APP_UNLOCK_ALL_SKINS=true
18
ENV APP_UNIVERSAL_POLARITY_EVERYWHERE=true
8
ENV APP_SKIP_TUTORIAL=false
9
ENV APP_SKIP_ALL_DIALOGUE=false
10
ENV APP_UNLOCK_ALL_SCANS=false
11
ENV APP_UNLOCK_ALL_MISSIONS=false
12
ENV APP_INFINITE_CREDITS=false
13
ENV APP_INFINITE_PLATINUM=false
14
ENV APP_INFINITE_ENDO=false
15
ENV APP_INFINITE_REGAL_AYA=false
16
ENV APP_INFINITE_HELMINTH_MATERIALS=false
17
ENV APP_DONT_SUBTRACT_CONSUMABLES=false
18
ENV APP_UNLOCK_ALL_SHIP_FEATURES=false
19
ENV APP_UNLOCK_ALL_SHIP_DECORATIONS=false
20
ENV APP_UNLOCK_ALL_FLAVOUR_ITEMS=false
21
ENV APP_UNLOCK_ALL_SKINS=false
22
ENV APP_UNLOCK_ALL_CAPTURA_SCENES=false
23
ENV APP_UNIVERSAL_POLARITY_EVERYWHERE=false
24
ENV APP_UNLOCK_DOUBLE_CAPACITY_POTATOES_EVERYWHERE=false
25
ENV APP_UNLOCK_EXILUS_EVERYWHERE=false
26
ENV APP_UNLOCK_ARCANES_EVERYWHERE=false
27
ENV APP_NO_DAILY_FOCUS_LIMIT=false
28
ENV APP_NO_ARGON_CRYSTAL_DECAY=false
29
ENV APP_NO_MASTERY_RANK_UP_COOLDOWN=false
30
ENV APP_NO_VENDOR_PURCHASE_LIMITS=true
31
ENV APP_NO_DEATH_MARKS=false
32
ENV APP_NO_KIM_COOLDOWNS=false
33
ENV APP_INSTANT_RESOURCE_EXTRACTOR_DRONES=false
34
ENV APP_NO_RESOURCE_EXTRACTOR_DRONES_DAMAGE=false
35
ENV APP_SKIP_CLAN_KEY_CRAFTING=false
36
ENV APP_NO_DOJO_ROOM_BUILD_STAGE=false
37
ENV APP_NO_DECO_BUILD_STAGE=false
38
ENV APP_FAST_DOJO_ROOM_DESTRUCTION=false
39
ENV APP_NO_DOJO_RESEARCH_COSTS=false
40
ENV APP_NO_DOJO_RESEARCH_TIME=false
41
ENV APP_FAST_CLAN_ASCENSION=false
19
42
ENV APP_SPOOF_MASTERY_RANK=-1
20
43
21
44
RUN apk add --no-cache bash sed wget jq
@@ -12,19 +12,40 @@ services:
12
12
# APP_HTTP_PORT: 80
13
13
# APP_HTTPS_PORT: 443
14
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
15
# APP_SKIP_TUTORIAL: false
16
# APP_SKIP_ALL_DIALOGUE: false
17
# APP_UNLOCK_ALL_SCANS: false
18
# APP_UNLOCK_ALL_MISSIONS: false
19
# APP_INFINITE_CREDITS: false
20
# APP_INFINITE_PLATINUM: false
21
# APP_INFINITE_ENDO: false
22
# APP_INFINITE_REGAL_AYA: false
23
# APP_INFINITE_HELMINTH_MATERIALS: false
24
# APP_DONT_SUBTRACT_CONSUMABLES: false
25
# APP_UNLOCK_ALL_SHIP_FEATURES: false
26
# APP_UNLOCK_ALL_SHIP_DECORATIONS: false
27
# APP_UNLOCK_ALL_FLAVOUR_ITEMS: false
28
# APP_UNLOCK_ALL_SKINS: false
29
# APP_UNLOCK_ALL_CAPTURA_SCENES: false
30
# APP_UNIVERSAL_POLARITY_EVERYWHERE: false
31
# APP_UNLOCK_DOUBLE_CAPACITY_POTATOES_EVERYWHERE: false
32
# APP_UNLOCK_EXILUS_EVERYWHERE: false
33
# APP_UNLOCK_ARCANES_EVERYWHERE: false
34
# APP_NO_DAILY_FOCUS_LIMIT: false
35
# APP_NO_ARGON_CRYSTAL_DECAY: false
36
# APP_NO_MASTERY_RANK_UP_COOLDOWN: false
37
# APP_NO_VENDOR_PURCHASE_LIMITS: true
38
# APP_NO_DEATH_MARKS: false
39
# APP_NO_KIM_COOLDOWNS: false
40
# APP_INSTANT_RESOURCE_EXTRACTOR_DRONES: false
41
# APP_NO_RESOURCE_EXTRACTOR_DRONES_DAMAGE: false
42
# APP_SKIP_CLAN_KEY_CRAFTING: false
43
# APP_NO_DOJO_ROOM_BUILD_STAGE: false
44
# APP_NO_DECO_BUILD_STAGE: false
45
# APP_FAST_DOJO_ROOM_DESTRUCTION: false
46
# APP_NO_DOJO_RESEARCH_COSTS: false
47
# APP_NO_DOJO_RESEARCH_TIME: false
48
# APP_FAST_CLAN_ASCENSION: false
28
49
# APP_SPOOF_MASTERY_RANK: -1
29
50
volumes:
30
51
- ./docker-data/static:/app/static/data
@@ -19,5 +19,6 @@ do
19
19
mv config.tmp config.json
20
20
done
21
21
22
npm install
23
exec npm run dev
22
npm i --omit=dev
23
npm run build
24
exec npm run start