Skip to content

Commit e69d985

Browse files
authored
Update Calibre ports and variables (#2277)
Resolves #2271
1 parent bf35f6f commit e69d985

File tree

5 files changed

+110
-6
lines changed

5 files changed

+110
-6
lines changed

compose/.apps/calibre/.env

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ CALIBRE<__INSTANCE>__HOSTNAME='Calibre<__Instance>'
44
CALIBRE<__INSTANCE>__NETWORK_MODE=''
55
CALIBRE<__INSTANCE>__PORT_8080='8080'
66
CALIBRE<__INSTANCE>__PORT_8081='8081'
7+
CALIBRE<__INSTANCE>__PORT_8181='8181'
78
CALIBRE<__INSTANCE>__RESTART='unless-stopped'
89
CALIBRE<__INSTANCE>__STORAGE_ON='' # Blank uses DOCKER_STORAGE_ON value. Set to YES/NO to override
910
CALIBRE<__INSTANCE>__STORAGE2_ON='' # Blank uses DOCKER_STORAGE2_ON value. Set to YES/NO to override
Lines changed: 104 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,105 @@
1-
CALIBRE_USE_DARK_PALETTE='1'
1+
### https://github.com/linuxserver/docker-calibre/blob/master/README.md
2+
###
3+
4+
# Optionally pass cli start arguments to calibre.
25
CLI_ARGS=''
3-
GUAC_PASS=''
4-
GUAC_USER=''
6+
7+
##
8+
## Selkies Settings
9+
##
10+
## https://github.com/linuxserver/docker-baseimage-selkies/blob/master/README.md#options
11+
12+
#CUSTOM_PORT='8080' # Internal port the container listens on for http
13+
#CUSTOM_HTTPS_PORT='8181' # Internal port the container listens on for https
14+
#CUSTOM_WS_PORT='8081' # Internal port the container listens on for websockts
15+
CUSTOM_USER='' # HTTP Basic auth username
16+
DRI_NODE='' # Enable VAAPI stream encoding and use the specified device IE /dev/dri/renderD128
17+
DRINODE='' # Specify which GPU to use for DRI3 acceleration IE /dev/dri/renderD129
18+
PASSWORD='' # HTTP Basic auth password
19+
SUBFOLDER='' # Subfolder for the application if running a subfolder reverse proxy, need both slashes IE /subfolder/
20+
TITLE='Calibre' # The page title displayed on the web browser
21+
DASHBOARD='selkies-dashboard' # Allows the user to set their dashboard. Options: selkies-dashboard, selkies-dashboard-zinc, selkies-dashboard-wish
22+
FILE_MANAGER_PATH='' # Modifies the default upload/download file path, path must have proper permissions for abc user
23+
START_DOCKER='false' # If set to false a container with privilege will not automatically start the DinD Docker setup
24+
DISABLE_IPV6='' # If set to true or any value this will disable IPv6
25+
LC_ALL=''
26+
NO_DECOR='' # If set the application will run without window borders for use as a PWA. (Decor can be enabled and disabled with Ctrl+Shift+d)
27+
28+
NO_FULL='' # Do not autmatically fullscreen applications when using openbox.
29+
NO_GAMEPAD='' # Disable userspace gamepad interposer injection.
30+
DISABLE_ZINK='' # Do not set the Zink environment variables if a video card is detected (userspace applications will use CPU rendering)
31+
DISABLE_DRI3='' # Do not use DRI3 acceleration if a video card is detected (userspace applications will use CPU rendering)
32+
MAX_RES='15360x8640' # Pass a larger maximum resolution for the container default is 16k 15360x8640
33+
WATERMARK_PNG='' # Absolute path to the watermark PNG file.
34+
WATERMARK_LOCATION=-1 # Watermark location enum (0-6).
35+
36+
# Core Feature Toggles
37+
SELKIES_AUDIO_ENABLED=True # Enable server-to-client audio streaming.
38+
SELKIES_MICROPHONE_ENABLED=True # Enable client-to-server microphone forwarding.
39+
SELKIES_GAMEPAD_ENABLED=True # Enable gamepad support.
40+
SELKIES_CLIPBOARD_ENABLED=True # Enable clipboard synchronization.
41+
SELKIES_COMMAND_ENABLED=True # Enable parsing of command websocket messages.
42+
SELKIES_FILE_TRANSFERS='upload,download' # Allowed file transfer directions (comma-separated: "upload,download"). Set to "" or "none" to disable.
43+
44+
# Video & Encoder Settings
45+
SELKIES_ENCODER='x264enc,x264enc-striped,jpeg' # The default video encoders.
46+
SELKIES_FRAMERATE='8-120' # Allowed framerate range or a fixed value.
47+
SELKIES_H264_CRF='5-50' # Allowed H.264 CRF range or a fixed value.
48+
SELKIES_JPEG_QUALITY='1-100' # Allowed JPEG quality range or a fixed value.
49+
SELKIES_H264_FULLCOLOR=False # Enable H.264 full color range for pixelflux encoders.
50+
SELKIES_H264_STREAMING_MODE=False # Enable H.264 streaming mode for pixelflux encoders.
51+
SELKIES_USE_CPU=False # Force CPU-based encoding for pixelflux.
52+
SELKIES_USE_PAINT_OVER_QUALITY=True # Enable high-quality paint-over for static scenes.
53+
SELKIES_PAINT_OVER_JPEG_QUALITY='1-100' # Allowed JPEG paint-over quality range or a fixed value.
54+
SELKIES_H264_PAINTOVER_CRF='5-50' # Allowed H.264 paint-over CRF range or a fixed value.
55+
SELKIES_H264_PAINTOVER_BURST_FRAMES='1-30' # Allowed H.264 paint-over burst frames range or a fixed value.
56+
SELKIES_SECOND_SCREEN=True # Enable support for a second monitor/display.
57+
58+
# Audio Settings
59+
SELKIES_AUDIO_BITRATE='320000' # The default audio bitrate.
60+
61+
# Display & Resolution Settings
62+
SELKIES_IS_MANUAL_RESOLUTION_MODE=False # Lock the resolution to the manual width/height values.
63+
SELKIES_MANUAL_WIDTH=0 # Lock width to a fixed value. Setting this forces manual resolution mode.
64+
SELKIES_MANUAL_HEIGHT=0 # Lock height to a fixed value. Setting this forces manual resolution mode.
65+
SELKIES_SCALING_DPI='96' # The default DPI for UI scaling.
66+
67+
# Input & Client Behavior Settings
68+
SELKIES_ENABLE_BINARY_CLIPBOARD=False # Allow binary data on the clipboard.
69+
SELKIES_USE_BROWSER_CURSORS=False # Use browser CSS cursors instead of rendering to canvas.
70+
SELKIES_USE_CSS_SCALING=False # HiDPI when false, if true a lower resolution is sent from the client and the canvas is stretched.
71+
SELKIES_DRI_NODE='' # Path to the DRI render node for VA-API.
72+
73+
# UI Visibility Settings
74+
SELKIES_UI_TITLE='Selkies' # Title in top left corner of sidebar.
75+
SELKIES_UI_SHOW_LOGO=True # Show the Selkies logo in the sidebar.
76+
SELKIES_UI_SHOW_SIDEBAR=True # Show the main sidebar UI.
77+
SELKIES_UI_SHOW_CORE_BUTTONS=True # Show the core components buttons display, audio, microphone, and gamepad.
78+
SELKIES_UI_SIDEBAR_SHOW_VIDEO_SETTINGS=True # Show the video settings section in the sidebar.
79+
SELKIES_UI_SIDEBAR_SHOW_SCREEN_SETTINGS=True # Show the screen settings section in the sidebar.
80+
SELKIES_UI_SIDEBAR_SHOW_AUDIO_SETTINGS=True # Show the audio settings section in the sidebar.
81+
SELKIES_UI_SIDEBAR_SHOW_STATS=True # Show the stats section in the sidebar.
82+
SELKIES_UI_SIDEBAR_SHOW_CLIPBOARD=True # Show the clipboard section in the sidebar.
83+
SELKIES_UI_SIDEBAR_SHOW_FILES=True # Show the file transfer section in the sidebar.
84+
SELKIES_UI_SIDEBAR_SHOW_APPS=True # Show the applications section in the sidebar.
85+
SELKIES_UI_SIDEBAR_SHOW_SHARING=True # Show the sharing section in the sidebar.
86+
SELKIES_UI_SIDEBAR_SHOW_GAMEPADS=True # Show the gamepads section in the sidebar.
87+
SELKIES_UI_SIDEBAR_SHOW_FULLSCREEN=True # Show the fullscreen button in the sidebar.
88+
SELKIES_UI_SIDEBAR_SHOW_GAMING_MODE=True # Show the gaming mode button in the sidebar.
89+
SELKIES_UI_SIDEBAR_SHOW_TRACKPAD=True # Show the virtual trackpad button in the sidebar.
90+
SELKIES_UI_SIDEBAR_SHOW_KEYBOARD_BUTTON=True # Show the on-screen keyboard button in the display area.
91+
SELKIES_UI_SIDEBAR_SHOW_SOFT_BUTTONS=True # Show the soft buttons section in the sidebar.
92+
93+
# Server Startup & Operational Settings
94+
SELKIES_AUDIO_DEVICE_NAME='output.monitor' # Audio device name for pcmflux capture.
95+
#SELKIES_WATERMARK_PATH='' # Absolute path to the watermark PNG file.
96+
#SELKIES_WATERMARK_LOCATION=-1 # Watermark location enum (0-6).
97+
SELKIES_DEBUG=False # Enable debug logging.
98+
99+
# Shared Modes
100+
SELKIES_ENABLE_SHARING=True # Master toggle for all sharing features.
101+
SELKIES_ENABLE_COLLAB=True # Enable collaborative (read-write) sharing link.
102+
SELKIES_ENABLE_SHARED=True # Enable view-only sharing links.
103+
SELKIES_ENABLE_PLAYER2=True # Enable sharing link for gamepad player 2.
104+
SELKIES_ENABLE_PLAYER3=True # Enable sharing link for gamepad player 3.
105+
SELKIES_ENABLE_PLAYER4=True # Enable sharing link for gamepad player 4.

compose/.apps/calibre/calibre.migrate

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ CALIBRE<__INSTANCE>__ENABLED CALIBRE<__INSTANCE>_ENABLED
66
CALIBRE<__INSTANCE>__NETWORK_MODE CALIBRE<__INSTANCE>_NETWORK_MODE
77
CALIBRE<__INSTANCE>__PORT_8080 CALIBRE<__INSTANCE>_PORT_8080
88
CALIBRE<__INSTANCE>__PORT_8081 CALIBRE<__INSTANCE>_PORT_8081
9+
CALIBRE<__INSTANCE>__PORT_8181 CALIBRE<__INSTANCE>_PORT_81S81
910
CALIBRE<__INSTANCE>__RESTART CALIBRE<__INSTANCE>_RESTART
1011
CALIBRE<__INSTANCE>__STORAGE_ON CALIBRE<__INSTANCE>__STORAGE
1112
CALIBRE<__INSTANCE>__STORAGE2_ON CALIBRE<__INSTANCE>__STORAGE2
@@ -15,7 +16,4 @@ CALIBRE<__INSTANCE>__TAG CALIBRE<__INSTANCE>_TAG
1516
###
1617
### CALIBRE<__INSTANCE> - calibre<__instance>.env:
1718
###
18-
calibre<__instance>:CALIBRE_USE_DARK_PALETTE CALIBRE<__INSTANCE>_USE_DARK_PALETTE|CALIBRE<__INSTANCE>_ENVIRONMENT_USE_DARK_PALETTE
1919
calibre<__instance>:CLI_ARGS CALIBRE<__INSTANCE>_CLI_ARGS|CALIBRE<__INSTANCE>_ENVIRONMENT_CLI_ARGS
20-
calibre<__instance>:GUAC_PASS CALIBRE<__INSTANCE>_GUAC_PASS|CALIBRE<__INSTANCE>_ENVIRONMENT_GUAC_PASS
21-
calibre<__instance>:GUAC_USER CALIBRE<__INSTANCE>_GUAC_USER|CALIBRE<__INSTANCE>_ENVIRONMENT_GUAC_USER

compose/.apps/calibre/calibre.ports.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ services:
33
ports:
44
- ${CALIBRE<__INSTANCE>__PORT_8080?}:8080
55
- ${CALIBRE<__INSTANCE>__PORT_8081?}:8081
6+
- ${CALIBRE<__INSTANCE>__PORT_8181?}:8181

compose/.apps/calibre/calibre.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ services:
33
container_name: ${CALIBRE<__INSTANCE>__CONTAINER_NAME?}
44
env_file: .env.app.calibre<__instance>
55
environment:
6+
- CUSTOM_HTTPS_PORT=8181
7+
- CUSTOM_PORT=8080
8+
- CUSTOM_WS_PORT=8081
69
- PGID=${PGID?}
710
- PUID=${PUID?}
811
- TZ=${TZ?}

0 commit comments

Comments
 (0)