Compare commits

...

8 Commits

Author SHA1 Message Date
4f848d0680 Update README.md
Some checks failed
External Trigger Scheduler / external-trigger-scheduler (push) Has been cancelled
Mark stale issues and pull requests / stale (push) Has been cancelled
Package Trigger Scheduler / package-trigger-scheduler (push) Has been cancelled
2026-01-06 20:57:46 +00:00
cc06731d24 Update README.md 2026-01-06 20:57:20 +00:00
Joakim Svensson
0de8039dee fix: restore default nginx config, update EXPOSE, and fix autostart permissions 2026-01-06 20:37:24 +00:00
Joakim Svensson
ff4c2bd6bc Leverage base image nginx service instead of creating a new one 2026-01-06 20:20:24 +00:00
Joakim Svensson
f72580e7eb Change internal nginx port to 8081 to avoid conflict with base image
Some checks failed
External Trigger Scheduler / external-trigger-scheduler (push) Has been cancelled
2026-01-06 19:57:16 +00:00
Joakim Svensson
72673f1b17 Update docker-compose.yaml with local config path and new ports 2026-01-06 19:47:21 +00:00
Joakim Svensson
50b4e98b57 Add build context to docker-compose.yaml 2026-01-06 19:45:36 +00:00
Joakim Svensson
600c0af53c Add docker-compose.yaml example 2026-01-06 19:44:08 +00:00
10 changed files with 32 additions and 11 deletions

View File

@@ -82,7 +82,7 @@ changelogs:
### LinuxServer.io Conventions
- **PUID/PGID:** Support for user mapping is handled by the base image; ensure any new files in `root/` are compatible with the `abc` user.
- **S6 Overlay:** Use S6 service files for process management if adding new background services. Ensure `run` scripts are executable (`chmod +x`). In this project, an `nginx` service is used to serve local content.
- **S6 Overlay:** Use S6 service files for process management if adding new background services. Ensure `run` scripts are executable (`chmod +x`). In this project, the base image's `nginx` service is leveraged to serve local content via `root/etc/nginx/conf.d/fusion.conf`.
## 6. Error Handling and Logging
- **Redirection:** In Shell scripts, redirect stderr to stdout or `/dev/null` as appropriate: `"$@" > /dev/null 2>&1`.

View File

@@ -10,7 +10,7 @@ LABEL maintainer="thelamer"
# title
ENV TITLE=QMX-Fusion
ENV CHROME_CLI="--kiosk http://localhost"
ENV CHROME_CLI="--kiosk http://localhost:8081"
RUN \
echo "**** add icon ****" && \
@@ -27,7 +27,6 @@ RUN \
echo "**** clone web content ****" && \
git clone https://github.com/Sparks72/QMX-Fusion-v1 /var/www/fusion-v1 && \
chown -R abc:abc /var/www/fusion-v1 && \
rm -f /etc/nginx/sites-enabled/default && \
echo "**** cleanup ****" && \
apt-get autoclean && \
rm -rf \
@@ -40,6 +39,6 @@ RUN \
COPY /root /
# ports and volumes
EXPOSE 3000
EXPOSE 3000 3001
VOLUME /config

View File

@@ -10,7 +10,7 @@ LABEL maintainer="thelamer"
# title
ENV TITLE=QMX-Fusion
ENV CHROME_CLI="--kiosk http://localhost"
ENV CHROME_CLI="--kiosk http://localhost:8081"
RUN \
echo "**** add icon ****" && \
@@ -27,7 +27,6 @@ RUN \
echo "**** clone web content ****" && \
git clone https://github.com/Sparks72/QMX-Fusion-v1 /var/www/fusion-v1 && \
chown -R abc:abc /var/www/fusion-v1 && \
rm -f /etc/nginx/sites-enabled/default && \
echo "**** cleanup ****" && \
apt-get autoclean && \
rm -rf \
@@ -40,6 +39,6 @@ RUN \
COPY /root /
# ports and volumes
EXPOSE 3000
EXPOSE 3000 3001
VOLUME /config

View File

@@ -1,3 +1,9 @@
Containerization of QMX-fusion based on linuxserver/chromium
```docer compose up -d```
---
<!-- DO NOT EDIT THIS FILE MANUALLY -->
<!-- Please read https://github.com/linuxserver/docker-chromium/blob/master/.github/CONTRIBUTING.md -->
[![linuxserver.io](https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/linuxserver_medium.png)](https://linuxserver.io)

18
docker-compose.yaml Normal file
View File

@@ -0,0 +1,18 @@
---
services:
qmx-fusion:
build: .
image: sa6anw/qmx-fusion:latest
container_name: qmx-fusion
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
- CHROME_CLI=--kiosk http://localhost:8081 # Uppdatera om du vill ändra startinställningar
volumes:
- ./config:/config
ports:
- 3010:3000
- 3011:3001
shm_size: "1gb"
restart: unless-stopped

View File

@@ -32,7 +32,7 @@ custom_params:
# optional variables
opt_param_usage_include_env: true
opt_param_env_vars:
- {env_var: "CHROME_CLI", env_value: "--kiosk http://localhost", desc: "Specify one or multiple Chromium CLI flags, this string will be passed to the application in full."}
- {env_var: "CHROME_CLI", env_value: "--kiosk http://localhost:8081", desc: "Specify one or multiple Chromium CLI flags, this string will be passed to the application in full."}
# Selkies blurb settings
selkies_blurb: true
show_nvidia: true
@@ -114,6 +114,7 @@ init_diagram: |
"chromium:latest" <- Base Images
# changelog
changelogs:
- {date: "06.01.26:", desc: "Fix missing port 3001, ensure autostart is executable, and restore default nginx site to avoid breaking Selkies UI."}
- {date: "06.01.26:", desc: "Add nginx to serve QMX-Fusion-v1 and start chromium in kiosk mode."}
- {date: "20.12.25:", desc: "Add Wayland init logic."}
- {date: "22.09.25:", desc: "Rebase to Debian Trixie."}

0
root/defaults/autostart Normal file → Executable file
View File

0
root/defaults/autostart_wayland Normal file → Executable file
View File

View File

@@ -1,5 +1,5 @@
server {
listen 80 default_server;
listen 8081;
root /var/www/fusion-v1;
index index.html;
location / {

View File

@@ -1,2 +0,0 @@
#!/usr/bin/with-contenv bash
exec nginx -g "daemon off;"