src/scripts/scriptConfig.json
src/assets/*idtags*.json
!src/assets/idtags-template.json
+src/assets/configs-docker/*.json
mikro-orm.config*.ts
!mikro-orm.config-template.ts
manifest*.yml
'./dist/assets/*.json',
'./dist/assets/json-schemas',
'./dist/assets/station-templates',
- './dist/assets/ui-protocol'
+ './dist/assets/ui-protocol',
+ './dist/assets/configs-docker'
]
}),
copy({
{
from: ['./src/assets/station-templates/**/*.json'],
to: ['./assets/station-templates']
+ },
+ {
+ from: ['./src/assets/configs-docker/*.json'],
+ to: ['./assets/configs-docker']
}
]
})
[ -z $emobility_server_type ] && { echo "emobility env server type variable not found, exiting"; exit 1; }
[ -z $emobility_service_type ] && { echo "emobility env service type variable not found, exiting"; exit 1; }
- cp $emobility_install_dir/dist/assets/configs-aws/$emobility_server_type-$emobility_service_type-$emobility_landscape.json $emobility_install_dir/dist/assets/config.json
- cp $emobility_install_dir/dist/assets/configs-aws/$emobility_server_type-$emobility_service_type-$emobility_landscape-idtags.json $emobility_install_dir/dist/assets/idtags.json
+ cp $emobility_install_dir/dist/assets/configs-docker/$emobility_server_type-$emobility_service_type-$emobility_landscape.json $emobility_install_dir/dist/assets/config.json
+ cp $emobility_install_dir/dist/assets/configs-docker/$emobility_server_type-$emobility_service_type-$emobility_landscape-idtags.json $emobility_install_dir/dist/assets/idtags.json
+ cp $emobility_install_dir/dist/assets/configs-docker/$emobility_server_type-$emobility_service_type-$emobility_landscape-webui.json $emobility_install_dir/ui/web/public/config.json
else
echo "no emobility env defined, start with default configuration"
fi