Add fixup script to work around fluffychat docker image weirdness
This commit is contained in:
parent
13acc181e3
commit
746ce6d93b
10
compose.yml
10
compose.yml
|
@ -5,13 +5,17 @@ services:
|
|||
app:
|
||||
image: git.coopcloud.tech/coop-cloud/fluffychat:v1.7.1
|
||||
environment:
|
||||
- DOMAIN
|
||||
- FLUFFY_APPLICATION_NAME
|
||||
- FLUFFY_DEFAULT_HOMESERVER
|
||||
networks:
|
||||
- proxy
|
||||
configs:
|
||||
- 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:
|
||||
restart_policy:
|
||||
condition: on-failure
|
||||
|
@ -42,3 +46,7 @@ configs:
|
|||
name: ${STACK_NAME}_config_json_${CONFIG_JSON_VERSION}
|
||||
file: config.json.tmpl
|
||||
template_driver: golang
|
||||
fixup_sh:
|
||||
name: ${STACK_NAME}_fixup_sh_${FIXUP_SH_VERSION}
|
||||
file: fixup.sh
|
||||
|
||||
|
|
Loading…
Reference in New Issue