Updates to clams deployment.

This commit is contained in:
Derek Smith 2023-05-16 22:01:47 -04:00
parent 42a1604146
commit ca069c7dec
Signed by: farscapian
GPG Key ID: B443E530A14E1C90
1 changed files with 5 additions and 0 deletions

View File

@ -64,8 +64,13 @@ done
cat >> "$DOCKER_YAML_PATH" <<EOL
volumes:
- ${REMOTE_DATA_PATH_LETSENCRYPT}:/etc/letsencrypt:ro
EOL
if ssh "$PRIMARY_WWW_FQDN" [ -d "$REMOTE_CLAMS_PATH" ]; then
cat >> "$DOCKER_YAML_PATH" <<EOL
- ${REMOTE_CLAMS_PATH}:/browser-app
EOL
fi
cat >> "$DOCKER_YAML_PATH" <<EOL
configs: