chore(unraid): finalize production lifecycle and acceptance notes
This commit is contained in:
@@ -14,7 +14,8 @@ services:
|
||||
test ! -e /target/.foreign-project || { echo 'foreign project marker found'; exit 1; }
|
||||
cp -a /source/app/. /target/app/
|
||||
cp -a /source/config/. /target/config/
|
||||
cp /source/compose.yaml /source/requirements.lock /source/DEPLOYMENT.md /target/
|
||||
cp -a /source/tests /target/
|
||||
cp /source/compose.yaml /source/Dockerfile /source/requirements.lock /source/DEPLOYMENT.md /target/
|
||||
if [ ! -s /target/secrets/api-token ]; then
|
||||
umask 077
|
||||
printf 'tail2_%s' "$$(head -c 48 /dev/urandom | base64 | tr -d '\n=/+')" > /target/secrets/api-token
|
||||
@@ -108,6 +109,7 @@ services:
|
||||
start_period: 180s
|
||||
|
||||
validate:
|
||||
profiles: ["validation"]
|
||||
image: tail2-pose-server:0.1.0
|
||||
container_name: tail2-pose-validate
|
||||
network_mode: host
|
||||
@@ -142,6 +144,7 @@ services:
|
||||
chmod 0666 /validation/*.txt /validation/*.json /validation/*.csv
|
||||
|
||||
soak:
|
||||
profiles: ["validation"]
|
||||
image: tail2-pose-server:0.1.0
|
||||
container_name: tail2-pose-soak
|
||||
network_mode: host
|
||||
|
||||
Reference in New Issue
Block a user