Add asset local server service
This commit is contained in:
@@ -1,15 +1,16 @@
|
||||
version: '3'
|
||||
services:
|
||||
sif2-ew:
|
||||
image: sif2-ew:latest
|
||||
container_name: sif2-ew
|
||||
build:
|
||||
dockerfile: "./Dockerfile"
|
||||
lovelive_sif2:
|
||||
image: lovelive_sif2:latest
|
||||
container_name: lovelive_sif2
|
||||
environment:
|
||||
PORT: 8080
|
||||
ASSET_PORT: 8000
|
||||
DIRECTORY: /data/
|
||||
ASSET_DIRECTORY: /assets/
|
||||
HTTPS: false
|
||||
NPPS4_ADDRESS: "http://127.0.0.1:51376"
|
||||
ENABLE_ASSET_SERVER: false
|
||||
#NPPS4_ADDRESS: "http://127.0.0.1:51376"
|
||||
MAXTIME: 1717045200 # A day before global EOS
|
||||
HIDDEN: false # Will disable the webui
|
||||
DISABLE_IMPORTS: false # Will disable account imports
|
||||
@@ -22,7 +23,12 @@ services:
|
||||
#IOS_JAPAN: "link.to/ios/japan.ipa"
|
||||
#ASSET_URL: "link.to/client/assets/"
|
||||
ports:
|
||||
- 8080:8080
|
||||
- "8080:8080"
|
||||
- "8000:8000"
|
||||
volumes:
|
||||
# 只修改左侧本地路径
|
||||
# 数据库存放路径(建议添加)
|
||||
- ./data:/data
|
||||
# 资源文件存放路径(搭建asset server需要指定本地资源路径)
|
||||
- ./assets:/assets
|
||||
restart: unless-stopped
|
||||
|
||||
Reference in New Issue
Block a user