Add element-web
This commit is contained in:
parent
feca134351
commit
78585026a9
7 changed files with 28 additions and 6 deletions
3
container-config/element/config.json
Normal file
3
container-config/element/config.json
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"default_server_name": "strypsteen.me"
|
||||
}
|
11
container-config/nginx-home/element
Normal file
11
container-config/nginx-home/element
Normal file
|
@ -0,0 +1,11 @@
|
|||
server {
|
||||
server_name element.strypsteen.com;
|
||||
listen 443 ssl;
|
||||
listen [::]:443 ssl;
|
||||
include snippets/headers.conf;
|
||||
location / {
|
||||
set $upstream systemd-element.;
|
||||
proxy_pass http://$upstream;
|
||||
include snippets/proxy.conf;
|
||||
}
|
||||
}
|
|
@ -2,8 +2,9 @@ FROM ghcr.io/coder/code-server:fedora
|
|||
RUN mkdir -p /home/coder/.config/systemd/user/default.target.wants
|
||||
RUN ln -s /etc/systemd/user/code-server.service /home/coder/.config/systemd/user/default.target.wants
|
||||
USER root
|
||||
RUN sed /^tsflags/d -i /etc/dnf/dnf.conf
|
||||
RUN dnf up -y
|
||||
RUN dnf install -y bash-color-prompt bash-completion cargo hostname nodejs-npm python-unversioned-command systemd-container vim-enhanced
|
||||
RUN dnf install -y bash-color-prompt bash-completion cargo hostname man-db man-pages nodejs-npm python-unversioned-command systemd-container vim-enhanced
|
||||
RUN authselect select minimal
|
||||
RUN mkdir /etc/systemd/system/user@.service.d
|
||||
COPY override.conf /etc/systemd/system/user@.service.d
|
||||
|
|
|
@ -4,8 +4,6 @@ color-scheme='prefer-dark'
|
|||
enable-animations=false
|
||||
gtk-enable-primary-paste=false
|
||||
show-battery-percentage=true
|
||||
[org/gnome/desktop/notifications]
|
||||
show-in-lock-screen=false
|
||||
[org/gnome/desktop/peripherals/touchpad]
|
||||
disable-while-typing=false
|
||||
[org/gnome/desktop/privacy]
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"BlockThirdPartyCookies": true,
|
||||
"ClearBrowsingDataOnExitList": ["browsing_history", "download_history", "cached_images_and_files", "autofill"],
|
||||
"CookiesAllowedForUrls": ["https://code.strypsteen.com"],
|
||||
"ClearBrowsingDataOnExitList": ["browsing_history", "download_history", "autofill"],
|
||||
"CookiesAllowedForUrls": ["[*.]strypsteen.com"],
|
||||
"DefaultCookiesSetting": 4,
|
||||
"DefaultSearchProviderEnabled": true,
|
||||
"DefaultSearchProviderSearchURL": "https://duckduckgo.com/?q={searchTerms}",
|
||||
|
|
9
home/etc/containers/systemd/element.container
Normal file
9
home/etc/containers/systemd/element.container
Normal file
|
@ -0,0 +1,9 @@
|
|||
[Container]
|
||||
Image=docker.io/vectorim/element-web
|
||||
UserNS=auto
|
||||
Network=nginx.network
|
||||
Volume=/var/lib/system-config/container-config/element/config.json:/app/config.json:z,ro
|
||||
Tmpfs=/var/cache/nginx
|
||||
AutoUpdate=registry
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
|
@ -5,4 +5,4 @@ sh setup-desktop.sh
|
|||
systemctl enable --now sshd
|
||||
systemctl mask --global grub-boot-success.timer
|
||||
flatpak remote-add --if-not-exists flathub /usr/lib/fedora-third-party/conf.d/fedora-flathub.flatpakrepo
|
||||
flatpak install com.github.tchx84.Flatseal com.github.xournalpp.xournalpp com.moonlight_stream.Moonlight com.vscodium.codium com.yubico.yubioath im.riot.Riot io.mpv.Mpv org.chromium.Chromium org.gimp.GIMP org.gnome.Boxes org.gnome.Calculator org.gnome.Evince org.gnome.Evolution org.gnome.FileRoller org.gnome.Snapshot org.gnome.TextEditor org.libreoffice.LibreOffice org.mozilla.firefox org.torproject.torbrowser-launcher
|
||||
flatpak install com.github.tchx84.Flatseal com.github.xournalpp.xournalpp com.moonlight_stream.Moonlight com.yubico.yubioath io.mpv.Mpv org.chromium.Chromium org.gimp.GIMP org.gnome.Boxes org.gnome.Calculator org.gnome.Evince org.gnome.Evolution org.gnome.FileRoller org.gnome.Snapshot org.gnome.TextEditor org.libreoffice.LibreOffice org.mozilla.firefox org.torproject.torbrowser-launcher
|
||||
|
|
Loading…
Add table
Reference in a new issue