mirror of
https://github.com/wekan/wekan.git
synced 2025-12-18 00:10:13 +01:00
Pipefail error
This commit is contained in:
parent
d6127082e9
commit
7b3e2c58e2
3 changed files with 14 additions and 1 deletions
9
Stackerfile.yml
Normal file
9
Stackerfile.yml
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
appId: wekan-public/apps/77b94f60-dec9-0136-304e-16ff53095928
|
||||||
|
appVersion: "0"
|
||||||
|
files:
|
||||||
|
userUploads:
|
||||||
|
- README.md
|
||||||
|
userScripts:
|
||||||
|
build: stacksmith/user-scripts/build.sh
|
||||||
|
boot: stacksmith/user-scripts/boot.sh
|
||||||
|
run: stacksmith/user-scripts/run.sh
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -eux
|
set -euxo pipefail
|
||||||
|
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
|
@ -8,6 +8,9 @@ set -euo pipefail
|
||||||
# This file will store the config env variables needed by the app
|
# This file will store the config env variables needed by the app
|
||||||
readonly CONF=/build/env.config
|
readonly CONF=/build/env.config
|
||||||
|
|
||||||
|
# EMAIL_URL can also be set here by injecting another env variable in the template
|
||||||
|
# ROOT_URL can also be set at runtime, by querying AWS api or by using ingress annotations in the template for k8s.
|
||||||
|
|
||||||
cat >"${CONF}" <<'EOF'
|
cat >"${CONF}" <<'EOF'
|
||||||
export MONGO_URL=mongodb://{{DATABASE_USER}}:{{DATABASE_PASSWORD}}@{{DATABASE_HOST}}:{{DATABASE_PORT}}/{{DATABASE_NAME}}
|
export MONGO_URL=mongodb://{{DATABASE_USER}}:{{DATABASE_PASSWORD}}@{{DATABASE_HOST}}:{{DATABASE_PORT}}/{{DATABASE_NAME}}
|
||||||
export ROOT_URL=http://localhost
|
export ROOT_URL=http://localhost
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
set -euxo pipefail
|
||||||
|
|
||||||
readonly CONF=/build/env.config
|
readonly CONF=/build/env.config
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue