Suppose we want to set up two apps ([freshrss][1] and [Jellyfin][2]) behind a reverse proxy ([nginx][3]).
Then we'd do something like this with Podman and the quadlet generator:
[146/175] Building CXX object CMakeFiles/magicseteditor.dir/src/script/parser.cpp.o | |
FAILED: CMakeFiles/magicseteditor.dir/src/script/parser.cpp.o | |
/run/ccache/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_REGEX_DYN_LINK -DUNOFFICIAL_BUILD -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D__WXGTK__ -I/run/build/magicseteditor2/src -I/usr/include/hunspell -isystem /app/lib/wx/include/gtk3-unicode-3.3 -isystem /app/include/wx-3.3 -O2 -pipe -g -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -Wall -Wsuggest-override -Wstrict-null-sentinel -Wno-comment -Wno-unused-parameter -O3 -DNDEBUG -std=gnu++17 -Winvalid-pch -include /run/build/magicseteditor2/CMakeFiles/magicseteditor.dir/cmake_pch.hxx -MD -MT CMakeFiles/magicseteditor.dir/src/script/parser.cpp.o -MF CMakeFiles/magicseteditor.dir/src/script/parser.cpp.o.d -o CMakeFiles/magicseteditor.dir |
======================================================================== | |
Building module magicseteditor2 in /home/mattiasb/Code/github.com/mattiasb/MagicSetEditor2/.flatpak-builder/build/magicseteditor2-3 | |
======================================================================== | |
Switched to branch 'feature/genevensis-cmake-install' | |
-- The C compiler identification is GNU 14.3.0 | |
-- The CXX compiler identification is GNU 14.3.0 | |
-- Detecting C compiler ABI info | |
-- Detecting C compiler ABI info - done | |
-- Check for working C compiler: /run/ccache/bin/cc - skipped | |
-- Detecting C compile features |
(custom-set-variables | |
;; custom-set-variables was added by Custom. | |
;; If you edit it by hand, you could mess it up, so be careful. | |
;; Your init file should contain only one such instance. | |
;; If there is more than one, they won't work right. | |
'(custom-file (file-name-concat user-emacs-directory "custom.el")) | |
'(delete-selection-mode t) | |
'(fill-column 80) | |
'(inhibit-startup-buffer-menu t) | |
'(inhibit-startup-screen t) |
#!/usr/bin/emacs -x | |
;; -*- flymake-diagnostic-functions: nil; -*- | |
(setq user-emacs-directory (locate-dominating-file load-file-name ".git")) | |
(load (file-name-concat user-emacs-directory "early-init.el")) | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
(require 'package) | |
(require 'package-vc) |
#!/bin/bash | |
set -e | |
set -o pipefail | |
################################################################################ | |
function gnome-keybinding { | |
echo gsettings set org.gnome.desktop.wm.keybindings "${@}" | |
} |
VERSION=21.02.1 | |
TARGET=bcm27xx-bcm2711 | |
PROFILE=rpi-4 | |
PACKAGES=kmod-usb-net-rtl8152 luci luci-ssl | |
FILESYSTEM=ext4 | |
################### | |
BUILDER_BASEURL=https://downloads.openwrt.org/releases/$(VERSION)/targets/$(subst -,/,$(TARGET)) | |
BUILDER_TARBALL=openwrt-imagebuilder-$(VERSION)-$(TARGET).Linux-x86_64.tar.xz |
TASK [check : Type Checking mount field in storage_lvm_volumes] ********** | |
ok: [machine-test.local] => (item={'path': '/'}) => changed=false | |
ansible_loop_var: item | |
item: | |
path: / | |
msg: All assertions passed | |
TASK [storage : check : Type Checking bools] ***************************** | |
ok: [machine-test.local] => changed=false | |
msg: All assertions passed |
config.vm.define "git.local" do |server| | |
server.vm.hostname = "git.local" | |
server.ssh.port = 2222 | |
# The ssh_port field doesn't exist in Vagrant, but would make it possible to | |
# change guest ssh port during provisioning. | |
server.vm.provision "shell", ssh_port: 22, inline: <<-SHELL | |
set -ex | |
sed -i -Ee 's/^[[:blank:]]*#[[:blank:]]*Port[[:blank:]]+22$/Port 2222/' \ | |
/etc/ssh/sshd_config | |
systemctl restart sshd.service |
Started by user Mattias Bengtsson | |
Running in Durability level: PERFORMANCE_OPTIMIZED | |
[Pipeline] Start of Pipeline | |
[Pipeline] node | |
Running on builder22_Linux in /home/company/jenkins/workspace/Experiments/mattiasb/DockerTest | |
[Pipeline] { | |
[Pipeline] isUnix | |
[Pipeline] sh | |
+ docker inspect -f . node:7-alpine | |
. |