forked from coop-cloud/authentik
Work towards custom CSS in volume
This commit is contained in:
parent
47793df102
commit
98a5d4b726
1
abra.sh
1
abra.sh
@ -18,6 +18,7 @@ export HEDGEDOC_CONFIG_VERSION=v2
|
|||||||
export MONITORING_CONFIG_VERSION=v3
|
export MONITORING_CONFIG_VERSION=v3
|
||||||
export DB_ENTRYPOINT_VERSION=v1
|
export DB_ENTRYPOINT_VERSION=v1
|
||||||
export PG_BACKUP_VERSION=v2
|
export PG_BACKUP_VERSION=v2
|
||||||
|
export ENTRYPOINT_CSS_VERSION=v1
|
||||||
|
|
||||||
customize() {
|
customize() {
|
||||||
if [ -z "$1" ]
|
if [ -z "$1" ]
|
||||||
|
21
compose.css-volume.yml
Normal file
21
compose.css-volume.yml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
---
|
||||||
|
version: "3.8"
|
||||||
|
|
||||||
|
services:
|
||||||
|
app:
|
||||||
|
user: root
|
||||||
|
volumes:
|
||||||
|
- "custom_css:/css"
|
||||||
|
entrypoint: /docker-entrypoint.sh
|
||||||
|
configs:
|
||||||
|
- source: entrypoint_css
|
||||||
|
target: /docker-entrypoint.sh
|
||||||
|
mode: 0555
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
custom_css:
|
||||||
|
|
||||||
|
configs:
|
||||||
|
entrypoint_css:
|
||||||
|
name: ${STACK_NAME}_entrypoint_css_${ENTRYPOINT_CSS_VERSION}
|
||||||
|
file: entrypoint-css-volume.sh
|
5
entrypoint-css-volume.sh
Normal file
5
entrypoint-css-volume.sh
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
cp -f /css/custom.css /web/dist/
|
||||||
|
|
||||||
|
su $(id -un 1000) -s /bin/bash -c 'dumb-init -- ak server'
|
Loading…
x
Reference in New Issue
Block a user