mirror of
https://github.com/gilbN/theme.park.git
synced 2024-11-20 01:52:32 +01:00
deploy: 4819bf6afe
This commit is contained in:
parent
381c7091c1
commit
56e8a6bf46
@ -1,14 +1,12 @@
|
|||||||
server {
|
server {
|
||||||
listen 80 default_server;
|
listen 80 default_server;
|
||||||
listen [::]:80 default_server;
|
listen [::]:80 default_server;
|
||||||
|
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
listen [::]:443 ssl http2;
|
listen [::]:443 ssl http2;
|
||||||
|
|
||||||
server_name _;
|
server_name _;
|
||||||
|
|
||||||
ssl_certificate /config/keys/cert.crt;
|
|
||||||
ssl_certificate_key /config/keys/cert.key;
|
|
||||||
|
|
||||||
index index.html index.htm index.php;
|
index index.html index.htm index.php;
|
||||||
|
|
||||||
location / {
|
location / {
|
10
docker/root/etc/s6-overlay/s6-rc.d/init-adduser/branding
Normal file
10
docker/root/etc/s6-overlay/s6-rc.d/init-adduser/branding
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
|
||||||
|
████████╗██╗ ██╗███████╗███╗ ███╗███████╗ ██████╗ █████╗ ██████╗ ██╗ ██╗
|
||||||
|
╚══██╔══╝██║ ██║██╔════╝████╗ ████║██╔════╝ ██╔══██╗██╔══██╗██╔══██╗██║ ██╔╝
|
||||||
|
██║ ███████║█████╗ ██╔████╔██║█████╗ ██████╔╝███████║██████╔╝█████╔╝
|
||||||
|
██║ ██╔══██║██╔══╝ ██║╚██╔╝██║██╔══╝ ██╔═══╝ ██╔══██║██╔══██╗██╔═██╗
|
||||||
|
██║ ██║ ██║███████╗██║ ╚═╝ ██║███████╗██╗██║ ██║ ██║██║ ██║██║ ██╗
|
||||||
|
╚═╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚══════╝╚═╝╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝
|
||||||
|
|
||||||
|
Made by @gilbN
|
||||||
|
https://theme-park.dev
|
@ -0,0 +1 @@
|
|||||||
|
oneshot
|
1
docker/root/etc/s6-overlay/s6-rc.d/init-themepark-end/up
Normal file
1
docker/root/etc/s6-overlay/s6-rc.d/init-themepark-end/up
Normal file
@ -0,0 +1 @@
|
|||||||
|
# This file doesn't do anything, it's just the end of the themepark init process
|
@ -1,21 +1,5 @@
|
|||||||
#!/usr/bin/with-contenv bash
|
#!/usr/bin/with-contenv bash
|
||||||
|
|
||||||
echo '
|
|
||||||
----------------------------------------------------------------------------------------
|
|
||||||
dP dP dP
|
|
||||||
88 88 88
|
|
||||||
d8888P 88d888b. .d8888b. 88d8b.d8b. .d8888b. 88d888b. .d8888b. 88d888b. 88 .dP
|
|
||||||
88 88 `88 88ooood8 88 88 88 88ooood8 88. `88 88 `88 88 `88 88888.
|
|
||||||
88 88 88 88. ... 88 88 88 88. ... 88. .88 88 88 88 88 `8b.
|
|
||||||
dP dP dP `88888P dP dP dP `88888P 88 88Y888P `88888P8 dP dP `YP
|
|
||||||
88
|
|
||||||
dP
|
|
||||||
|
|
||||||
Made by @gilbN
|
|
||||||
https://theme-park.dev
|
|
||||||
----------------------------------------------------------------------------------------'
|
|
||||||
|
|
||||||
|
|
||||||
# Display variables for troubleshooting
|
# Display variables for troubleshooting
|
||||||
echo -e "[theme.park-init] Variables set:\\n\
|
echo -e "[theme.park-init] Variables set:\\n\
|
||||||
PUID=${PUID}\\n\
|
PUID=${PUID}\\n\
|
||||||
@ -31,13 +15,13 @@ case ${TP_URLBASE} in
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
DEFAULT='/defaults/default'
|
DEFAULT='/defaults/default.conf'
|
||||||
if [[ ${TP_URLBASE} ]]; then
|
if [[ ${TP_URLBASE} ]]; then
|
||||||
if ! grep -q "${TP_URLBASE}" "${DEFAULT}"; then
|
if ! grep -q "${TP_URLBASE}" "${DEFAULT}"; then
|
||||||
sed -i "s/themepark/${TP_URLBASE}/g" ${DEFAULT}
|
sed -i "s/themepark/${TP_URLBASE}/g" ${DEFAULT}
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
cp /defaults/default /config/nginx/site-confs
|
cp /defaults/default.conf /config/nginx/site-confs
|
||||||
|
|
||||||
# make our folders and links
|
# make our folders and links
|
||||||
mkdir -p \
|
mkdir -p \
|
||||||
@ -60,7 +44,7 @@ echo '[theme.park-init] Copying mods into /config/docker-mods'
|
|||||||
|
|
||||||
echo '[theme.park-init] Running themes.py and creating CSS files'
|
echo '[theme.park-init] Running themes.py and creating CSS files'
|
||||||
python3 /config/www/themes.py
|
python3 /config/www/themes.py
|
||||||
|
echo '[theme.park-init] done.'
|
||||||
# permissions
|
# permissions
|
||||||
chown -R abc:abc \
|
chown -R abc:abc \
|
||||||
/config
|
/config
|
1
docker/root/etc/s6-overlay/s6-rc.d/init-themepark/type
Normal file
1
docker/root/etc/s6-overlay/s6-rc.d/init-themepark/type
Normal file
@ -0,0 +1 @@
|
|||||||
|
oneshot
|
1
docker/root/etc/s6-overlay/s6-rc.d/init-themepark/up
Normal file
1
docker/root/etc/s6-overlay/s6-rc.d/init-themepark/up
Normal file
@ -0,0 +1 @@
|
|||||||
|
/etc/s6-overlay/s6-rc.d/init-themepark/run
|
@ -1,4 +1,4 @@
|
|||||||
FROM ghcr.io/linuxserver/baseimage-alpine-nginx:3.14
|
FROM ghcr.io/linuxserver/baseimage-alpine-nginx:3.16
|
||||||
|
|
||||||
# set version label
|
# set version label
|
||||||
ARG BUILD_DATE
|
ARG BUILD_DATE
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM ghcr.io/linuxserver/baseimage-alpine-nginx:arm32v7-3.14
|
FROM ghcr.io/linuxserver/baseimage-alpine-nginx:arm32v7-3.16
|
||||||
|
|
||||||
# set version label
|
# set version label
|
||||||
ARG BUILD_DATE
|
ARG BUILD_DATE
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM ghcr.io/linuxserver/baseimage-alpine-nginx:arm64v8-3.14
|
FROM ghcr.io/linuxserver/baseimage-alpine-nginx:arm64v8-3.16
|
||||||
|
|
||||||
# set version label
|
# set version label
|
||||||
ARG BUILD_DATE
|
ARG BUILD_DATE
|
||||||
|
Loading…
Reference in New Issue
Block a user