Files
ew_author/docker/docker-compose.yml
2026-07-31 21:16:23 -05:00

50 lines
2.4 KiB
YAML

services:
sif2-ew:
image: sif2-ew:latest
container_name: sif2-ew
build:
dockerfile: "./Dockerfile"
environment:
PORT: 8080
DIRECTORY: /data/
HTTPS: 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
DISABLE_EXPORTS: false # Will disable account exports
#ENABLE_CUSTOM_SONGS: true # Custom songs are DISABLED by default; uncomment to enable upload/browse/download (webui + endpoints)
#ENABLE_CUSTOM_CARDS: true # Custom cards are DISABLED by default; uncomment to enable runtime card/character uploads (webui + endpoints)
#OWNER: "123456789012345" # 15-digit game user id(s) (comma-separated) that hold every permission scope; without an owner nobody can grant scopes or upload cards
#PURGE: false # Purge dead user accounts on startup
#IMAGE_ASSET_PATH: /images/ # Images for cards in webui (will default to the public server)
#MASTERDATA: /masterdata/ # Override bundled CSVs / new_user.json at runtime (missing files fall back to the internal copies)
# Asset hash / version overrides. Leave unset to use the values bundled in
# the binary. ASSET_VERSION is the one version every override below is
# served for; each hash replaces what that client is told to expect
# (e.g. to track a newer client build).
#ASSET_VERSION: ""
#JP_ANDROID_ASSET_HASH: ""
#JP_IOS_ASSET_HASH: ""
#EN_ANDROID_ASSET_HASH: ""
#EN_IOS_ASSET_HASH: ""
#WINDOWS_ASSET_HASH: "" # Windows asset hash (JP only; GL Windows is unused)
# Everything below is for the "Help" page
#ANDROID_GLOBAL: "link.to/patched/android/global.apk"
#ANDROID_JAPAN: "link.to/patched/android/japan.apk"
#IOS_GLOBAL: "link.to/ios/global.ipa"
#IOS_JAPAN: "link.to/ios/japan.ipa"
#ASSET_URL: "link.to/client/assets/"
ports:
- 8080:8080
volumes:
- ./data:/data
# You can download from https://git.ethanthesleepy.one/ethanaobrien/ew-webui/releases/download/images/card-thumbnails.zip
# No, you should not have a nested folder EXAMPLE: `images/FILENAME.webp`
#- ./images:/images
# Mirrors the bundled layout: csv/<table>.csv, csv-en/<table>.csv, userdata/new_user.json
#- ./masterdata:/masterdata
restart: unless-stopped