Add fixup script to work around fluffychat docker image weirdness
This commit is contained in:
parent
13acc181e3
commit
746ce6d93b
2
abra.sh
2
abra.sh
|
@ -1,2 +1,2 @@
|
||||||
export CONFIG_JSON_VERSION=v1
|
export CONFIG_JSON_VERSION=v1
|
||||||
|
export FIXUP_SH_VERSION=v1
|
||||||
|
|
10
compose.yml
10
compose.yml
|
@ -5,13 +5,17 @@ services:
|
||||||
app:
|
app:
|
||||||
image: git.coopcloud.tech/coop-cloud/fluffychat:v1.7.1
|
image: git.coopcloud.tech/coop-cloud/fluffychat:v1.7.1
|
||||||
environment:
|
environment:
|
||||||
|
- DOMAIN
|
||||||
- FLUFFY_APPLICATION_NAME
|
- FLUFFY_APPLICATION_NAME
|
||||||
- FLUFFY_DEFAULT_HOMESERVER
|
- FLUFFY_DEFAULT_HOMESERVER
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
configs:
|
configs:
|
||||||
- source: config_json
|
- source: config_json
|
||||||
target: /usr/share/nginx/config.json
|
target: /usr/share/nginx/html/config.json
|
||||||
|
- source: fixup_sh
|
||||||
|
target: /docker-entrypoint.d/00-fixup.sh
|
||||||
|
mode: 0555
|
||||||
deploy:
|
deploy:
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: on-failure
|
condition: on-failure
|
||||||
|
@ -42,3 +46,7 @@ configs:
|
||||||
name: ${STACK_NAME}_config_json_${CONFIG_JSON_VERSION}
|
name: ${STACK_NAME}_config_json_${CONFIG_JSON_VERSION}
|
||||||
file: config.json.tmpl
|
file: config.json.tmpl
|
||||||
template_driver: golang
|
template_driver: golang
|
||||||
|
fixup_sh:
|
||||||
|
name: ${STACK_NAME}_fixup_sh_${FIXUP_SH_VERSION}
|
||||||
|
file: fixup.sh
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue